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

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104816
interpreted = N
texte = Is that 100% accurate (trying to head off the nitpickers...), i.e. is it valid without " How about I start with one that I wrote a function to emulate WebDNA's > capabilities... > > $location="index.php; > header('location: > http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'.$location); > > (Note: Can not be used after any other headers are written) > > versus > > [text show=f]location=index.dna[/text] > [redirect [location]] > (Note: Can be anywhere on the page) > > > Dan Strong wrote: >> Provide me with these accurate comparisons and I'll do a 2nd >> "corrected" vid. Note: the original vid cannot be "replaced:" on >> youtube. >> >> -Dan Strong >> http://www.DanStrong.com >> >> >> On 2/19/2010 12:10 PM, Donovan Brooke wrote: >>> 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... >>>> >>>> >>>> >>>> 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 >>> >>> >>> I agree 100% Paul (though I love the general presentation of Dan's >>> vid!). Comparisons have to be accurate else you lose "clout". Many >>> of the examples being put out there, including many of them on >>> webdna.us, could be presented much more accurately and WebDNA will >>> still "win" the majority of them. You are right. >>> >>> Donovan >>> >>> >>> >>> >> --------------------------------------------------------- >> 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 >> >> > > --------------------------------------------------------- > 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)
Is that 100% accurate (trying to head off the nitpickers...), i.e. is it valid without " How about I start with one that I wrote a function to emulate WebDNA's > capabilities... > > $location="index.php; > header('location: > http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'.$location); > > (Note: Can not be used after any other headers are written) > > versus > > [text show=f]location=index.dna[/text] > [redirect [location]] > (Note: Can be anywhere on the page) > > > Dan Strong wrote: >> Provide me with these accurate comparisons and I'll do a 2nd >> "corrected" vid. Note: the original vid cannot be "replaced:" on >> youtube. >> >> -Dan Strong >> http://www.DanStrong.com >> >> >> On 2/19/2010 12:10 PM, Donovan Brooke wrote: >>> 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... >>>> >>>> >>>> >>>> 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 >>> >>> >>> I agree 100% Paul (though I love the general presentation of Dan's >>> vid!). Comparisons have to be accurate else you lose "clout". Many >>> of the examples being put out there, including many of them on >>> webdna.us, could be presented much more accurately and WebDNA will >>> still "win" the majority of them. You are right. >>> >>> Donovan >>> >>> >>> >>> >> --------------------------------------------------------- >> 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 >> >> > > --------------------------------------------------------- > 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:

Linebreak as a delimiter in listwords? (2003) pull downs (1997) Can't load tmpl files (1997) PROBLEM (1997) Questions To Answer (1997) carriage returns in data (1997) b12 cannot limit records returned and more. (1997) ANYONE (1999) [format xs] freeze (1997) Pricing based on quantity (2000) variables in or out of includes (2001) Commitdatabase tag (1998) [WebDNA] CDATA in XML = blank value (2015) Authorizenet and expiration dates (2002) Emailer error 550? (1999) Cart questions (1997) search results not sorted with 'cl' (1998) [WebDNA] Webdna error on plain html site - Update (2013) Migrating to NT (1997) Setting up shop (1997)