Re: [WebDNA] WebDNA vs. php war ;-)

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104812
interpreted = N
texte = The new "standard" is to have the full open and close tags. You can still set it up to use the short tags, but some providers are moving away from that due to a conflict with XML's open tag - ' At the risk of being chased off the list some commentators do have a point. > > A lot of the PHP example code is padded out unnecessarily. Why are the tags included on separate lines, why isn't there a similar at the top of each example? Not to mention that many setups work with short PHP tags > > You don't have to set a variable and then echo it, you can just print it straight out etc., for instance... > > $browser = $_SERVER['HTTP_USER_AGENT']; > print "$browser"; > ?> > > could be... > > > > There are also various (unnecessary) lines of error checking code included in the PHP samples. > > The thing is WebNDA is simpler to code than PHP we don't have to 'cheat' to prove it. > > is still longer and messier than [browsername] > > Paul > > > > > On 5 Feb 2010, at 21:32, christophe.billiottet@webdna.us wrote: > > >> done :-) >> >> >> On Feb 5, 2010, at 16:55, Dan Strong wrote: >> >> >>> http://www.youtube.com/comment_servlet?all_comments&v=0t20QJtFnR8 >>> >>> Let's get him! >>> -Dan >>> >>> =================================== >>> http://www.youtube.com/watch?v=0t20QJtFnR8 >>> >>> "sam58810976" has made a comment on WebDNA vs. php/mySQL: >>> >>> [math]9+4[/math] >>> echo 9+4; >>> PHP wins that one without the bias >>> >>> > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > > > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] WebDNA vs. php war ;-) (Paul Willis 2010)
  2. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  3. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  4. Re: [WebDNA] WebDNA vs. php war ;-) (Paul Willis 2010)
  5. Re: [WebDNA] WebDNA vs. php war ;-) (Bob Minor 2010)
  6. Re: [WebDNA] WebDNA vs. php war ;-) (Donovan Brooke 2010)
  7. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  8. Re: [WebDNA] WebDNA vs. php war ;-) (Donovan Brooke 2010)
  9. Re: [WebDNA] WebDNA vs. php war ;-) (Matthew Bohne 2010)
  10. Re: [WebDNA] WebDNA vs. php war ;-) (Donovan Brooke 2010)
  11. Re: [WebDNA] WebDNA vs. php war ;-) (Donovan Brooke 2010)
  12. Re: [WebDNA] WebDNA vs. php war ;-) (Matthew Bohne 2010)
  13. Re: [WebDNA] WebDNA vs. php war ;-) (Matthew Bohne 2010)
  14. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  15. Re: [WebDNA] WebDNA vs. php war ;-) (Matthew Bohne 2010)
  16. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  17. Re: [WebDNA] WebDNA vs. php war ;-) (Donovan Brooke 2010)
  18. Re: [WebDNA] WebDNA vs. php war ;-) (Matthew Bohne 2010)
  19. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  20. Re: [WebDNA] WebDNA vs. php war ;-) (Paul Willis 2010)
  21. Re: [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
  22. Re: [WebDNA] WebDNA vs. php war ;-) (christophe.billiottet@webdna.us 2010)
  23. [WebDNA] WebDNA vs. php war ;-) (Dan Strong 2010)
The new "standard" is to have the full open and close tags. You can still set it up to use the short tags, but some providers are moving away from that due to a conflict with XML's open tag - ' At the risk of being chased off the list some commentators do have a point. > > A lot of the PHP example code is padded out unnecessarily. Why are the tags included on separate lines, why isn't there a similar at the top of each example? Not to mention that many setups work with short PHP tags > > You don't have to set a variable and then echo it, you can just print it straight out etc., for instance... > > $browser = $_SERVER['HTTP_USER_AGENT']; > print "$browser"; > ?> > > could be... > > > > There are also various (unnecessary) lines of error checking code included in the PHP samples. > > The thing is WebNDA is simpler to code than PHP we don't have to 'cheat' to prove it. > > is still longer and messier than [browsername] > > Paul > > > > > On 5 Feb 2010, at 21:32, christophe.billiottet@webdna.us wrote: > > >> done :-) >> >> >> On Feb 5, 2010, at 16:55, Dan Strong wrote: >> >> >>> http://www.youtube.com/comment_servlet?all_comments&v=0t20QJtFnR8 >>> >>> Let's get him! >>> -Dan >>> >>> =================================== >>> http://www.youtube.com/watch?v=0t20QJtFnR8 >>> >>> "sam58810976" has made a comment on WebDNA vs. php/mySQL: >>> >>> [math]9+4[/math] >>> echo 9+4; >>> PHP wins that one without the bias >>> >>> > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > > > Matthew Bohne

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

ConvertChars request (1999) I give up!! (1997) Sort Order on a page search (1997) Using Plug-In while running 1.6.1 (1997) passing username and password (2000) Searching multiple Databases (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Uploading out of FMP (2001) WebCat2.0b15-to many nested [xx] tags (1997) Download URL & access on the fly ? (1997) Admin Edit prob. (1997) Showing formatted results in tables (2002) Customizing WebDelivery.html (1998) MacAuthorize hub, no modal password dialog? (1997) Grep Question (2003) Develop on Mac - Serve on Linux (2002) Tax Laws for Online Sales (2003) New WebDNA Solutions ... (1997) No comment (1997) Opening 'order file'. (1999)