Re: Page-Execution-Timer...PHP vs WebDNA
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55537
interpreted = N
texte = hehe - people use php because other people use php? and if they were smar=t they'd use webDNA?come on people... theres a little more to it than that.if your looking for answers, this conversation has happened at least 3 ti=mes last year and was thoroughly answered from a number of different stan=dpoints.look through the archives for results of technical, feasibility and cost =benefit comparisons and make you're own mind up as to why people use one =over the other.> Dan, Sal,> > It is simple. It is the lemming effect: if everyone else is using it, I= must> use it to be like everyone else. Follow where everyone else is going to= be> where everyone else is.> > Corporate America thrives on this philosophy. Well, they don't thrive> because of it, but perhaps they thrive in spite of it. You've heard it> verbalized in ways such as "Well, no body has ever been fired for hirin=g> IBM..." Aside from that just simply not being true it almost never resu=lts> in 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 comp=anies> don't tend to publicize their failures you seldom hear about such thing=s.> > People want to use PHP instead of WebDNA because more people use PHP th=an> WebDNA -- far, far more people. That volume of available developers kee=ps> your customers from being too dependant upon you -- or at least they th=ink> so. That name recognition gives them comfort. When other CEO's ask that= CEO> what his website infrastructure runs on, if he can say "Microsoft" or> something else that the other person recognizes (PHP is becoming more w=idely> recognized among non-techies) he has retained his level of corporate> dignity. If he says "WebDNA" and they say "huh?" Then he becomes dimini=shed.> > It has nothing to do with which is better, but rather which is perceive=d as> being better -- Marketing. My favorite example of this is one of the wo=rld's> largest software companies which is widely known as routinely deliverin=g> seriously flawed software to consumers and businesses by making them be=lieve> that it is the best available, that they need it to work effectively wi=th> others, and that crashes and rebooting their machine is just a routine =way> to clear any problems that arise. For those of you who have not yet mut=tered> "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 a> comparison of PHP and visual basic. Look at [date]. The simplest things= in> WebDNA are convoluted in other development environments. For us slower> people, by the time we get done setting all the international variables= and> formatting, time zones, etc. for just displaying the date in VB, the da=te> has changed.> > You are much smarter to use PHP than VB. You are much more productive t=o use> WebDNA than PHP. But then there is that whole flat file vs. relational> database performance matter .... And then there's the cost of PHP vs.=> WebDNA....> > Paul> > > On 1/17/04 11:21 AM, "Dan Strong"
wrot=e:> > >> 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-tim=er> >> > >> >> function timer($finish =3D false){> >> static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;> >> if($finish){> >> list($end_frac_sec,$end_sec) =3D 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) =3D explode(" ", microtime(=));> >> }> >> }> >> ?>> >> > >> > >> wtf was all that wasted code? in webdna:> >> at bottom of page:> >> this page took [format .4f][math][elapsedtime]/60[/math][/format] se=conds 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/-------------------------------------------------------------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:
hehe - people use php because other people use php? and if they were smar=t they'd use webDNA?come on people... theres a little more to it than that.if your looking for answers, this conversation has happened at least 3 ti=mes last year and was thoroughly answered from a number of different stan=dpoints.look through the archives for results of technical, feasibility and cost =benefit comparisons and make you're own mind up as to why people use one =over the other.> Dan, Sal,> > It is simple. It is the lemming effect: if everyone else is using it, I= must> use it to be like everyone else. Follow where everyone else is going to= be> where everyone else is.> > Corporate America thrives on this philosophy. Well, they don't thrive> because of it, but perhaps they thrive in spite of it. You've heard it> verbalized in ways such as "Well, no body has ever been fired for hirin=g> IBM..." Aside from that just simply not being true it almost never resu=lts> in 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 comp=anies> don't tend to publicize their failures you seldom hear about such thing=s.> > People want to use PHP instead of WebDNA because more people use PHP th=an> WebDNA -- far, far more people. That volume of available developers kee=ps> your customers from being too dependant upon you -- or at least they th=ink> so. That name recognition gives them comfort. When other CEO's ask that= CEO> what his website infrastructure runs on, if he can say "Microsoft" or> something else that the other person recognizes (PHP is becoming more w=idely> recognized among non-techies) he has retained his level of corporate> dignity. If he says "WebDNA" and they say "huh?" Then he becomes dimini=shed.> > It has nothing to do with which is better, but rather which is perceive=d as> being better -- Marketing. My favorite example of this is one of the wo=rld's> largest software companies which is widely known as routinely deliverin=g> seriously flawed software to consumers and businesses by making them be=lieve> that it is the best available, that they need it to work effectively wi=th> others, and that crashes and rebooting their machine is just a routine =way> to clear any problems that arise. For those of you who have not yet mut=tered> "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 a> comparison of PHP and visual basic. Look at [date]. The simplest things= in> WebDNA are convoluted in other development environments. For us slower> people, by the time we get done setting all the international variables= and> formatting, time zones, etc. for just displaying the date in VB, the da=te> has changed.> > You are much smarter to use PHP than VB. You are much more productive t=o use> WebDNA than PHP. But then there is that whole flat file vs. relational> database performance matter .... And then there's the cost of PHP vs.=> WebDNA....> > Paul> > > On 1/17/04 11:21 AM, "Dan Strong" wrot=e:> > >> 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-tim=er> >> > >> >> function timer($finish =3D false){> >> static $start_frac_sec, $start_sec, $end_frac_sec, $end_sec;> >> if($finish){> >> list($end_frac_sec,$end_sec) =3D 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) =3D explode(" ", microtime(=));> >> }> >> }> >> ?>> >> > >> > >> wtf was all that wasted code? in webdna:> >> at bottom of page:> >> this page took [format .4f][math][elapsedtime]/60[/math][/format] se=conds 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/-------------------------------------------------------------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:
Re:Item options w/ price adjustment (1997)
color and size options / ARCHIVES (1997)
Cart vs database (1998)
upgrading (1997)
Exists? (1997)
[cart] Taxrate - seriously .. (2002)
WCS Newbie question (1997)
WebCommerce: Folder organization ? (1997)
[WebDNA] linux linux linux (2009)
Using Cookie for client specific info? (1997)
Sendmail question (2002)
Re:Emailer setup (1997)
lookup (1998)
multi-paragraph fields (1997)
Prevent multiple appends with Reload Button (1997)
WebCatalog - Mac vs Linux (2000)
carriage returns in data (1997)
WebDNA Quick Reference (Reserved Words) (2000)
How many Databases can I open? (2003)
[searchString] (1997)