Re: Page-Execution-Timer...PHP vs WebDNA
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55540
interpreted = N
texte = Hi Paul,I know that this debate has been done many times on this list. The mainreason for the post was to show an example between PHP code and WebDNA code.These types of comparisons are a benefit to the WebDNA community. [snip] But then there is that whole flat file vs. relationaldatabase performance matter[/snip]Very soon WebDNA will have built-in support for MySQL so this will no longerbe an issue.[snip] 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 becomesdiminished.[/snip]This is not necessarily true. It would depend on which CEO was asked thisquestion. If a CEO becomes diminished by responding to this question, thenhe/she should not be the CEO. If the decision was made to use WebDNA, thenthe CEO would stand by that decision and might even tout the decision as acost saving measure. The problem is getting the CEO to buy WebDNA in thefirst place. If the CEO is from a very successful company, I think justmentioning the name WebDNA in itself would give others the idea that theyshould look into it.Anyways, we can go on and on with the Pros and Cons of using WebDNA, but Ican tell you that on a personal level, I would never be diminished tellinganyone that I used WebDNA. In fact, when I am asked, the response I receiveis mostly intrigue and some have even claimed that they knew about WebDNA,even though I know they never heard of it. Why do they do this, because theydid not want others to think that they did not know about the latesttechnology especially something as powerful as WebDNA. ;-)Sal D'Anna -----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of PaulUttermohlenSent: Saturday, January 17, 2004 10:45 AMTo: WebDNA TalkSubject: Re: Page-Execution-Timer...PHP vs WebDNADan, 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] secondsto>> 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 toWeb 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:
Hi Paul,I know that this debate has been done many times on this list. The mainreason for the post was to show an example between PHP code and WebDNA code.These types of comparisons are a benefit to the WebDNA community. [snip] But then there is that whole flat file vs. relationaldatabase performance matter[/snip]Very soon WebDNA will have built-in support for MySQL so this will no longerbe an issue.[snip] 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 becomesdiminished.[/snip]This is not necessarily true. It would depend on which CEO was asked thisquestion. If a CEO becomes diminished by responding to this question, thenhe/she should not be the CEO. If the decision was made to use WebDNA, thenthe CEO would stand by that decision and might even tout the decision as acost saving measure. The problem is getting the CEO to buy WebDNA in thefirst place. If the CEO is from a very successful company, I think justmentioning the name WebDNA in itself would give others the idea that theyshould look into it.Anyways, we can go on and on with the Pros and Cons of using WebDNA, but Ican tell you that on a personal level, I would never be diminished tellinganyone that I used WebDNA. In fact, when I am asked, the response I receiveis mostly intrigue and some have even claimed that they knew about WebDNA,even though I know they never heard of it. Why do they do this, because theydid not want others to think that they did not know about the latesttechnology especially something as powerful as WebDNA. ;-)Sal D'Anna -----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of PaulUttermohlenSent: Saturday, January 17, 2004 10:45 AMTo: WebDNA TalkSubject: Re: Page-Execution-Timer...PHP vs WebDNADan, 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] secondsto>> 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 toWeb 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/
"Sal"
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:
OT: Poll Please (2002)
unsubscribe, try 2 (2000)
WebCatalog vs WebDNA (2002)
Email (1998)
expired beta (1997)
creator code (1997)
Rotating photo gallery (2004)
[LOOKUP] (1997)
[BULK] [WebDNA] File uploads using WebDNA (2010)
Multiple catalog databases and showcart (1997)
IIS4b2 and WebCatalog b19 (1997)
Languages (1997)
How do I get Google to crawl a WebCat site? (2003)
Running _every_ page through WebCat ? (1997)
2.0 Info (1997)
Separate SSL Server (1997)
Weird bug, or is there something amiss? (1997)
Buying sans cart (1997)
SEARCH DATE RANGE (2000)
The evolved Server Configuration Queston (2000)