Re: WebDNA vs PHP

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54803
interpreted = N
texte = Interesting. Never knew that. Though the engine wouldnt be doing any html interpretation, cause the browser does all that. ----- Original Message ----- From: "Andrew Simpson" To: "WebDNA Talk" Sent: Wednesday, December 10, 2003 10:56 AM Subject: Re: WebDNA vs PHP > the engine will pass the code faster if it doesn't have to continually jump > in and out of its php/html interpreter... so echo " $ls_blah ."\"; is better than > or so i have been told... > > > ----- Original Message ----- > From: "Rajeev Kumar" > To: "WebDNA Talk" > Sent: Wednesday, December 10, 2003 12:55 PM > Subject: Re: WebDNA vs PHP > > > > Hmmm. The only thing I can think of is when you use HTML + Javascript. > > > > eg: > > > > > > > > That's the only incident when I would use both single and double quotes. > > I've never really tried using only single quotes with these things. > > > > > > ----- Original Message ----- > > From: "Marc Kaiwi" > > To: "WebDNA Talk" > > Sent: Wednesday, December 10, 2003 10:44 AM > > Subject: Re: WebDNA vs PHP > > > > > > > Hahahah ... thanks ... I'll look into that. > > > > > > Oh, by the way in my HTML code I've bee using single quotes rather than > > > escaping them. : > > > echo ""; > > > instead of: > > > echo ""; > > > > > > See any problems with using single quotes in the HTML? I've always used > > > the single quotes in Perl scripts also for the same reason. > > > > > > Thanks, > > > > > > MK > > > > > > On Tuesday, December 9, 2003, at 03:18 PM, Rajeev Kumar wrote: > > > > > > > i haven't used PHP in over a year, but im pretty sure you dont have to > > > > "echo". > > > > > > > > so > > > > > > > > hello > > > > > > > > becomes > > > > > > > > hello <---- 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: > > > >> <---- 29 characters > > > >> or > > > >> hello <--- 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 straight > > > >>>> html > > > >>>> 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, free > > > >>>> and > > > >>>> integrates with MySQL so well. > > > >>>> > > > >>>> Just a few thoughts as I make my way through the dark. Looking for > > > >>>> the > > > >>>> 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/ > > > > > > > > > > > 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/ ------------------------------------------------------------- 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:

    
  1. Re: WebDNA vs PHP ( Alan White 2003)
  2. Re: WebDNA vs PHP ( Kenneth Grome 2003)
  3. Re: WebDNA vs PHP ( "Andrew Simpson" 2003)
  4. Re: WebDNA vs PHP ( "Rajeev Kumar" 2003)
  5. Re: WebDNA vs PHP ( Marc Kaiwi 2003)
  6. Re: WebDNA vs PHP ( "Rajeev Kumar" 2003)
  7. Re: WebDNA vs PHP ( "Andrew Simpson" 2003)
  8. Re: WebDNA vs PHP ( "Andrew Simpson" 2003)
  9. Re: WebDNA vs PHP ( Marc Kaiwi 2003)
  10. Re: WebDNA vs PHP ( "Rajeev Kumar" 2003)
  11. Re: WebDNA vs PHP ( Stuart Tremain 2003)
  12. Re: WebDNA vs PHP ( Marc Kaiwi 2003)
  13. Re: WebDNA vs PHP ( "Rajeev Kumar" 2003)
  14. Re: WebDNA vs PHP ( "Rajeev Kumar" 2003)
  15. Re: WebDNA vs PHP ( Marc Kaiwi 2003)
  16. Re: WebDNA vs PHP ( "Rajeev Kumar" 2003)
  17. WebDNA vs PHP ( Marc Kaiwi 2003)
Interesting. Never knew that. Though the engine wouldnt be doing any html interpretation, cause the browser does all that. ----- Original Message ----- From: "Andrew Simpson" To: "WebDNA Talk" Sent: Wednesday, December 10, 2003 10:56 AM Subject: Re: WebDNA vs PHP > the engine will pass the code faster if it doesn't have to continually jump > in and out of its php/html interpreter... so echo " $ls_blah ."\"; is better than > or so i have been told... > > > ----- Original Message ----- > From: "Rajeev Kumar" > To: "WebDNA Talk" > Sent: Wednesday, December 10, 2003 12:55 PM > Subject: Re: WebDNA vs PHP > > > > Hmmm. The only thing I can think of is when you use HTML + Javascript. > > > > eg: > > > >
> > > > That's the only incident when I would use both single and double quotes. > > I've never really tried using only single quotes with these things. > > > > > > ----- Original Message ----- > > From: "Marc Kaiwi" > > To: "WebDNA Talk" > > Sent: Wednesday, December 10, 2003 10:44 AM > > Subject: Re: WebDNA vs PHP > > > > > > > Hahahah ... thanks ... I'll look into that. > > > > > > Oh, by the way in my HTML code I've bee using single quotes rather than > > > escaping them. : > > > echo ""; > > > instead of: > > > echo ""; > > > > > > See any problems with using single quotes in the HTML? I've always used > > > the single quotes in Perl scripts also for the same reason. > > > > > > Thanks, > > > > > > MK > > > > > > On Tuesday, December 9, 2003, at 03:18 PM, Rajeev Kumar wrote: > > > > > > > i haven't used PHP in over a year, but im pretty sure you dont have to > > > > "echo". > > > > > > > > so > > > > > > > > hello > > > > > > > > becomes > > > > > > > > hello <---- 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: > > > >> <---- 29 characters > > > >> or > > > >> hello <--- 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 straight > > > >>>> html > > > >>>> 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, free > > > >>>> and > > > >>>> integrates with MySQL so well. > > > >>>> > > > >>>> Just a few thoughts as I make my way through the dark. Looking for > > > >>>> the > > > >>>> 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/ > > > > > > > > > > > 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/ ------------------------------------------------------------- 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/ "Rajeev Kumar"

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:

RE: [WebDNA] Converting | to TAB (2010) How true is this? (1999) [WebDNA] HTML [sendmail] revisited (2009) A Global Variable (1997) [WebDNA] Another strange WebDNA problem (2013) Here we go again... (2006) OT: [WAY IN RIGHT FIELD SOMEWHERE] Spam Filters (2005) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) WebDNA Payment Alternatives (2003) More DateMath problems (1997) WebCat hosting providers? (1997) WebCat2 several catalogs? (1997) Help with nested search (1998) WCS Newbie question (1997) [search] within [listfiles]? (2003) Upload and WebCat (1998) So many lookers, hey smith micro (2003) Calendar (1997) OT: Google (2002) # fields limited? (1997)