Re: Pascal Server Page
- From: "GrandmasterB" <Fizzle@xxxxxxxxxxx>
- Date: Wed, 7 Feb 2007 14:34:48 -0500
"bee" <NOSPAMbee.ography@xxxxxxxxx> wrote in message
news:45c958e4$1@xxxxxxxxxxxxxxxxxxxxxxxxx
It's okay to be not interested. But judging before you know what you judge
on is non-sense.
Well, I've been programmig in pascal since the DOS days, and programming in
PHP for about 7 years now. So I think I'm quite qualified to judge the two
different languages, thank you very much.
I also disagree to add variable as string in pascal since it's a bad
practice and make code
not clear and hard to maintain. String is string, variable is variable,
don't mix them.
That sounds like dogma, and I dont do dogma.
if anything, variable interpolation can make code much easier to read. For
ex:
$h = "<tr><td>{$id}</td><td>{$unit}</td><td>{$tot}</td></tr>";
is a easier to read than
h := '<tr><td>' + IntToStr(id) + '</td><td>' + IntToStr(unit) + '</td><td>'
+ IntToStr(tot) + '</td></tr>';
and of course, you dont have to use it in php if you dont want to.
Between this and the string concatination operator in PHP, ".=", I find php
better suited for the heavy duty string work done in web apps.
and are running php as an apache module. For most of my apps,Again, have you done some benchmark? At least read other benchmark that
the bottle neck is data transfer (and occasionally db
queries), not script execution.
compares performance of
Benchmarks arent necessary - per my post the bottlenecks arent in execution,
but in data transfer and db work. And with a php accellerator installed,
you remove the compilation step for each page load, and get even snappier
php execution.
.
- Follow-Ups:
- Re: Pascal Server Page
- From: bee
- Re: Pascal Server Page
- References:
- Pascal Server Page
- From: bee
- Re: Pascal Server Page
- From: GrandmasterB
- Re: Pascal Server Page
- From: bee
- Pascal Server Page
- Prev by Date: Re: Why PHP?
- Next by Date: Re: A cross-platform vision for Delphi
- Previous by thread: Re: Pascal Server Page
- Next by thread: Re: Pascal Server Page
- Index(es):
Relevant Pages
|
|