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:
Email notification to one of multiple vendors ? (1997)
XML version of WebDNA docs? (2000)
Re[2]: Wierd problem with 3.08 WIN Version (2000)
[isfolder] and [filename] (1997)
Document Contains No Data! (1997)
webcat NT (1998)
WebCatalog 4.0.2b5 available (2000)
New WebDNA Solutions ... (1997)
SetMIMEHeader ATTN:John P. (2001)
Shell traceroute (2001)
Emailer setup (1997)
Summing fields (1997)
no global [username] or [password] displayed ... (1997)
Nested tags count question (1997)
[WebDNA] OT: How is this being done? Curious. (2009)
I want a 404 (2005)
FYI: virus alert (1996)
Long/Lat (2002)
Email check problems (1999)
Refresh cart# (1999)