Re: [WebDNA] WebDNA vs. php war ;-)
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104811
interpreted = N
texte = It's like that because I don't know how to use php very well and created that video very late one night in the span of a few hours. As far as separate lines, much of that was simply a formatting issue for readability in the small video box size I had to work in... I agree, if I were to actually sit down and do that video again, but with a plan, rather than completely off the top of my head in a hurry, I would change the php to be more "fair", I suppose...But this is, after all, advertising, and there is usually an expected bias in favor of the advertiser. I don't hear Microsoft complaining that Mac users don't actually get laid more than PC users or whatever the "mac vs pc" commercials are trying to insinuate by having a cool, laid back guy for mac and a nerdy suit guy for pc. Do 4 out of 5 dentists really prefer Crust toothpase? Who are these dentists? Do they mean that 80% of ALL dentists prefer it, or that 4 out the only 5 dentists they hand-picked for the survey prefer it? And what about Preparation A through G? Surely they must be better because they come before H?I am happy that people are commenting on the obviously tongue-in-cheek video, period, since it's creating expose for WebDNA, and all criticism is welcome.php is welcome to make a rebuttal video :)-Dan Stronghttp://www.DanStrong.comOn 2/19/2010 10:53 AM, Paul Willis wrote:> 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...>> echo ($_SERVER['HTTP_USER_AGENT']);?>>> 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.>> echo ($_SERVER['HTTP_USER_AGENT']);?> 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:
It's like that because I don't know how to use php very well and created that video very late one night in the span of a few hours. As far as separate lines, much of that was simply a formatting issue for readability in the small video box size I had to work in... I agree, if I were to actually sit down and do that video again, but with a plan, rather than completely off the top of my head in a hurry, I would change the php to be more "fair", I suppose...But this is, after all, advertising, and there is usually an expected bias in favor of the advertiser. I don't hear Microsoft complaining that Mac users don't actually get laid more than PC users or whatever the "mac vs pc" commercials are trying to insinuate by having a cool, laid back guy for mac and a nerdy suit guy for pc. Do 4 out of 5 dentists really prefer Crust toothpase? Who are these dentists? Do they mean that 80% of ALL dentists prefer it, or that 4 out the only 5 dentists they hand-picked for the survey prefer it? And what about Preparation A through G? Surely they must be better because they come before H?I am happy that people are commenting on the obviously tongue-in-cheek video, period, since it's creating expose for WebDNA, and all criticism is welcome.php is welcome to make a rebuttal video :)-Dan Stronghttp://www.DanStrong.comOn 2/19/2010 10:53 AM, Paul Willis wrote:> 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...>> echo ($_SERVER['HTTP_USER_AGENT']);?>>> 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.>> echo ($_SERVER['HTTP_USER_AGENT']);?> 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>
Dan Strong
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:
3RD POST Character limit in [Search]? (1998)
Sorting error (1997)
Email Formatting and Encryption (1998)
No Subject (1998)
Passing [quantity] (2000)
Need relative path explanation (1997)
$flushdatabases question ... (1998)
Summing fields (1997)
Help! WebCat2 bug (1997)
[protect admin] (1997)
Roundup function? (1997)
Which GUI HTML editors work with WC ? (1997)
[referrer] tag (1997)
Help on how to store calculated value (2002)
standard vs intertwined multithreading (1999)
RE: [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019)
WebCatalog for Postcards ? (1997)
2cd pair.. [math] and European Date format (2004)
searching more then one (1999)
absolute paths for databases? (1997)