Re: Page-Execution-Timer...PHP vs WebDNA
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55536
interpreted = N
texte = Dan, Sal,It is simple. It is the lemming effect: if everyone else is using it, I mustuse it to be like everyone else. Follow where everyone else is going to bewhere everyone else is.Corporate America thrives on this philosophy. Well, they don't thrivebecause of it, but perhaps they thrive in spite of it. You've heard itverbalized in ways such as "Well, no body has ever been fired for hiringIBM..." Aside from that just simply not being true it almost never resultsin a superior solution. It results in a solution that is "just as good as,""not as bad as" or in far too many cases a complete failure. Since companiesdon't tend to publicize their failures you seldom hear about such things.People want to use PHP instead of WebDNA because more people use PHP thanWebDNA -- far, far more people. That volume of available developers keepsyour customers from being too dependant upon you -- or at least they thinkso. That name recognition gives them comfort. When other CEO's ask that CEOwhat his website infrastructure runs on, if he can say "Microsoft" orsomething else that the other person recognizes (PHP is becoming more widelyrecognized among non-techies) he has retained his level of corporatedignity. If he says "WebDNA" and they say "huh?" Then he becomes diminished.It has nothing to do with which is better, but rather which is perceived asbeing better -- Marketing. My favorite example of this is one of the world'slargest software companies which is widely known as routinely deliveringseriously flawed software to consumers and businesses by making them believethat it is the best available, that they need it to work effectively withothers, and that crashes and rebooting their machine is just a routine wayto clear any problems that arise. For those of you who have not yet muttered"microsoft" please let the rest of us know what you are using.The elapsed time comparison is a great one. About 4 years ago I did acomparison of PHP and visual basic. Look at [date]. The simplest things inWebDNA are convoluted in other development environments. For us slowerpeople, by the time we get done setting all the international variables andformatting, time zones, etc. for just displaying the date in VB, the datehas changed.You are much smarter to use PHP than VB. You are much more productive to useWebDNA than PHP. But then there is that whole flat file vs. relationaldatabase performance matter .... And then there's the cost of PHP vs.WebDNA....PaulOn 1/17/04 11:21 AM, "Dan Strong"
wrote:>> What is it about PHP that makes people want to use it???> $$$> > > On Fri, 16 Jan 2004 22:16:52 -0800> "Sal" wrote:>>> From page:>> >> http://keithdevens.com/weblog/archive/2003/Dec/03/page-execution-timer>> >> > function timer($finish = false){>> static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;>> if($finish){>> list($end_frac_sec,$end_sec) = explode(" ", microtime());>> echo 'This page took about ' .>> round(>> (>> ($end_sec - $start_sec)>> + ($end_frac_sec - $start_frac_sec)>> ),>> 4) . ' seconds to generate.
\n';>> }else{>> list($start_frac_sec,$start_sec) = explode(" ", microtime());>> }>> }>> ?>>> >> >> wtf was all that wasted code? in webdna:>> at bottom of page:>> this page took [format .4f][math][elapsedtime]/60[/math][/format] seconds to>> generate. >> What is it about PHP that makes people want to use it???>> by Amazing BrianB on 5-Dec-2003 8:42pm est>> >> Good question Brian, too bad no one responded. ;-)>> >> Sal D'Anna>> >> >> ------------------------------------------------------------->> 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/> > ------------------------------------------------------------> http://www.StrongGraphicDesign.com> http://www.SearchBoise.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:
Dan, Sal,It is simple. It is the lemming effect: if everyone else is using it, I mustuse it to be like everyone else. Follow where everyone else is going to bewhere everyone else is.Corporate America thrives on this philosophy. Well, they don't thrivebecause of it, but perhaps they thrive in spite of it. You've heard itverbalized in ways such as "Well, no body has ever been fired for hiringIBM..." Aside from that just simply not being true it almost never resultsin a superior solution. It results in a solution that is "just as good as,""not as bad as" or in far too many cases a complete failure. Since companiesdon't tend to publicize their failures you seldom hear about such things.People want to use PHP instead of WebDNA because more people use PHP thanWebDNA -- far, far more people. That volume of available developers keepsyour customers from being too dependant upon you -- or at least they thinkso. That name recognition gives them comfort. When other CEO's ask that CEOwhat his website infrastructure runs on, if he can say "Microsoft" orsomething else that the other person recognizes (PHP is becoming more widelyrecognized among non-techies) he has retained his level of corporatedignity. If he says "WebDNA" and they say "huh?" Then he becomes diminished.It has nothing to do with which is better, but rather which is perceived asbeing better -- Marketing. My favorite example of this is one of the world'slargest software companies which is widely known as routinely deliveringseriously flawed software to consumers and businesses by making them believethat it is the best available, that they need it to work effectively withothers, and that crashes and rebooting their machine is just a routine wayto clear any problems that arise. For those of you who have not yet muttered"microsoft" please let the rest of us know what you are using.The elapsed time comparison is a great one. About 4 years ago I did acomparison of PHP and visual basic. Look at [date]. The simplest things inWebDNA are convoluted in other development environments. For us slowerpeople, by the time we get done setting all the international variables andformatting, time zones, etc. for just displaying the date in VB, the datehas changed.You are much smarter to use PHP than VB. You are much more productive to useWebDNA than PHP. But then there is that whole flat file vs. relationaldatabase performance matter .... And then there's the cost of PHP vs.WebDNA....PaulOn 1/17/04 11:21 AM, "Dan Strong" wrote:>> What is it about PHP that makes people want to use it???> $$$> > > On Fri, 16 Jan 2004 22:16:52 -0800> "Sal" wrote:>>> From page:>> >> http://keithdevens.com/weblog/archive/2003/Dec/03/page-execution-timer>> >> > function timer($finish = false){>> static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;>> if($finish){>> list($end_frac_sec,$end_sec) = explode(" ", microtime());>> echo 'This page took about ' .>> round(>> (>> ($end_sec - $start_sec)>> + ($end_frac_sec - $start_frac_sec)>> ),>> 4) . ' seconds to generate.
\n';>> }else{>> list($start_frac_sec,$start_sec) = explode(" ", microtime());>> }>> }>> ?>>> >> >> wtf was all that wasted code? in webdna:>> at bottom of page:>> this page took [format .4f][math][elapsedtime]/60[/math][/format] seconds to>> generate. >> What is it about PHP that makes people want to use it???>> by Amazing BrianB on 5-Dec-2003 8:42pm est>> >> Good question Brian, too bad no one responded. ;-)>> >> Sal D'Anna>> >> >> ------------------------------------------------------------->> 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/> > ------------------------------------------------------------> http://www.StrongGraphicDesign.com> http://www.SearchBoise.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/
Paul Uttermohlen
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:
WebDNA Docs (2003)
BR (1997)
Simple Database close connection (2001)
If Empty ? (1997)
problem serving foreign languages text (1997)
Remote Administration (1998)
Is this possible, WebCat2.0 and checkboxes (1997)
[LookUp] (1999)
Multiple hideif's or if (2007)
[WriteFile] problems (1997)
emailer (1997)
[WebDNA] Imagemagick (2018)
2nd WebCatalog2 Feature Request (1996)
Email (1998)
(2000)
Replace Statement (1997)
[WebDNA] [Convertwords] (2009)
I'm new be kind (1997)
Undeliverable Mail (1997)
WebCat2 several catalogs? (1997)