Re: WebDNA vs PHP
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 54802
interpreted = N
texte = bit more correct. if($x) echo "hello " .$name; ?> 28 characters...one line if's don't need the brackets...----- Original Message ----- From: "Rajeev Kumar"
To: "WebDNA Talk" Sent: Wednesday, December 10, 2003 12:18 PMSubject: Re: WebDNA vs PHP> i haven't used PHP in over a year, but im pretty sure you dont have to> "echo".>> so>> if($x){ ?> hello echo $name?> } ?>>> becomes>> if($x){ ?> hello =$name?> } ?> <---- 31 characters :)>>> or something like that.>> ----- Original Message ----- > From: "Marc Kaiwi" > To: "WebDNA Talk" > Sent: Wednesday, December 10, 2003 10:01 AM> Subject: Re: WebDNA vs PHP>>> > Yes but it's either:> > if($x){echo "hello $name";} ?> <---- 29 characters> > or> > if($x){ ?> hello echo $name?> } ?> <--- 34 characters> >> > ... and to keep this a little on the WebDNA topic here I'll compare. In> > WebDNA I would use something like:> >> > [showif x=True] hello [name][/showif] <--- 34 characters> >> > hahahahha .... : c)> >> > On Tuesday, December 9, 2003, at 02:49 PM, Rajeev Kumar wrote:> >> > > You dont have to echo() or print(). you can just escape from the php> > > portion> > > of the code using ?> and .> > >> > > eg:> > > ....> > > ...> > > if ($variable) { ?>> > > html code here
> > > }> > > ...> > > ...> > >> > >> > > ----- Original Message -----> > > From: "Marc Kaiwi" > > > To: "WebDNA Talk" > > > Sent: Wednesday, December 10, 2003 6:33 AM> > > Subject: WebDNA vs PHP> > >> > >> > >> Well I've been working with php/mysql for (only) about a week now ...> > >> very cool! I'm excited about it. I'm converting a website I wrote> > >> some> > >> years ago in perl/DBM to php/mysql, the server hosting it doesn't> > >> support WebDNA so that option is out unfortunately.> > >>> > >> Here's the one big advantage (IMHO) that WebDNA has over PHP :WebDNA> > >> integrates better with html in that it allows you to use straighthtml> > >> inside contexts without wrapping them in a print() or echo()> > >> statements, this can be a real time saver. Other than that, php seems> > >> to be just as quick to code and develop, it seems to be just a fast> > >> and> > >> full featured. PHP's big advantage may be that it's powerful, freeand> > >> integrates with MySQL so well.> > >>> > >> Just a few thoughts as I make my way through the dark. Looking forthe> > >> light switch which has got to be here somewhere, I know it.> > >>> > >> Signed: Marc Kaiwi> > >>> > >>> > >> -------------------------------------------------------------> > >> This message is sent to you because you are subscribed to> > >> the mailing list .> > >> To unsubscribe, E-mail to: > > >> To switch to the DIGEST mode, E-mail to> > > > > >> Web Archive of this list is at: http://webdna.smithmicro.com/> > >> > >> > > -------------------------------------------------------------> > > This message is sent to you because you are subscribed to> > > the mailing list .> > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to> > > > > > Web Archive of this list is at: http://webdna.smithmicro.com/> > >> > >> > Signed: Marc Kaiwi> >> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > Web Archive of this list is at: http://webdna.smithmicro.com/>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
bit more correct. if($x) echo "hello " .$name; ?> 28 characters...one line if's don't need the brackets...----- Original Message ----- From: "Rajeev Kumar" To: "WebDNA Talk" Sent: Wednesday, December 10, 2003 12:18 PMSubject: Re: WebDNA vs PHP> i haven't used PHP in over a year, but im pretty sure you dont have to> "echo".>> so>> if($x){ ?> hello echo $name?> } ?>>> becomes>> if($x){ ?> hello =$name?> } ?> <---- 31 characters :)>>> or something like that.>> ----- Original Message ----- > From: "Marc Kaiwi" > To: "WebDNA Talk" > Sent: Wednesday, December 10, 2003 10:01 AM> Subject: Re: WebDNA vs PHP>>> > Yes but it's either:> > if($x){echo "hello $name";} ?> <---- 29 characters> > or> > if($x){ ?> hello echo $name?> } ?> <--- 34 characters> >> > ... and to keep this a little on the WebDNA topic here I'll compare. In> > WebDNA I would use something like:> >> > [showif x=True] hello [name][/showif] <--- 34 characters> >> > hahahahha .... : c)> >> > On Tuesday, December 9, 2003, at 02:49 PM, Rajeev Kumar wrote:> >> > > You dont have to echo() or print(). you can just escape from the php> > > portion> > > of the code using ?> and .> > >> > > eg:> > > ....> > > ...> > > if ($variable) { ?>> > > html code here
> > > }> > > ...> > > ...> > >> > >> > > ----- Original Message -----> > > From: "Marc Kaiwi" > > > To: "WebDNA Talk" > > > Sent: Wednesday, December 10, 2003 6:33 AM> > > Subject: WebDNA vs PHP> > >> > >> > >> Well I've been working with php/mysql for (only) about a week now ...> > >> very cool! I'm excited about it. I'm converting a website I wrote> > >> some> > >> years ago in perl/DBM to php/mysql, the server hosting it doesn't> > >> support WebDNA so that option is out unfortunately.> > >>> > >> Here's the one big advantage (IMHO) that WebDNA has over PHP :WebDNA> > >> integrates better with html in that it allows you to use straighthtml> > >> inside contexts without wrapping them in a print() or echo()> > >> statements, this can be a real time saver. Other than that, php seems> > >> to be just as quick to code and develop, it seems to be just a fast> > >> and> > >> full featured. PHP's big advantage may be that it's powerful, freeand> > >> integrates with MySQL so well.> > >>> > >> Just a few thoughts as I make my way through the dark. Looking forthe> > >> light switch which has got to be here somewhere, I know it.> > >>> > >> Signed: Marc Kaiwi> > >>> > >>> > >> -------------------------------------------------------------> > >> This message is sent to you because you are subscribed to> > >> the mailing list .> > >> To unsubscribe, E-mail to: > > >> To switch to the DIGEST mode, E-mail to> > > > > >> Web Archive of this list is at: http://webdna.smithmicro.com/> > >> > >> > > -------------------------------------------------------------> > > This message is sent to you because you are subscribed to> > > the mailing list .> > > To unsubscribe, E-mail to: > > > To switch to the DIGEST mode, E-mail to> > > > > > Web Archive of this list is at: http://webdna.smithmicro.com/> > >> > >> > Signed: Marc Kaiwi> >> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > Web Archive of this list is at: http://webdna.smithmicro.com/>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Andrew Simpson"
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:
Sense/Disallow HTML tags during $Append (1997)
Re:listfiles-looking for slick solution (1997)
[date format] w/in sendmail (1997)
[ConvertChars] problem (1997)
Almost a there but..bye bye NetCloak (1997)
WebCatalog for guestbook ? (1997)
Before I Can Begin . . . (1998)
Can I invoke an ssi plugin from within a webcat page (1997)
[Announce] WebCatalog 2.1 Released (1998)
WebCatalog Hosting (1996)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
[WebDNA] WebDNA & Google Chrome Browser (2012)
Webstar 1.3.1 PPC (1997)
Referrer from multiple entry points (1998)
security problem (1997)
Interpret Around Contexts? (2000)
WebCat for Unix?? (1997)
[WebDNA] Dynamic server feedback? (2009)
[WebDNA] Installed but can't configure (2016)
Follow-up to listfiles bug report ... (2003)