Re: Pascal Server Page
- From: "bee" <NOSPAMbee.ography@xxxxxxxxx>
- Date: 6 Feb 2007 20:43:16 -0800
Honestly, not interested. I prefer delphi when creating
desktop apps, but prefer PHP for web apps. Pascal is good,
but PHP is better suited for web work. For ex, PHP supports
varaiable interpolation in strings which makes code much
clearer than if the strings were concatinated together with
'+' operators. Given the amount of string processing done
in web apps, this is a very significant advantage. Now, add
that to pascal, and maybe we'll talk.
It's okay to be not interested. But judging before you know what you judge on is non-sense. The "pascal is good but not suited for web work" is a contradiction since in programming view there's almost no differences between the two besides the media. 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.
I might consider using a codegear created PHP ide, but wouldnt
change languages for them.
That's alright, it's your choice, and everybody should respect that.
'more poweful' is a very subjective thing. For example,
several of my PHP apps run under FreeBSD. Can those apps you
mention also run under FreeBSD? If not, they are not only
'less powerful', but quite frankly also useless to me.
Have you looked at PSP? PSP is more multiplatform than what you think. It run on any platforms that supported by FPC. That'd be including FreeBDS, MacOS, Windows, and other OSes as well.
As far as faster... I doubt their performance is so much
better than PHP that it'd be noticable in a practical sense.
Especially when you have a PHP accellerator/cache installed,
and are running php as an apache module. For most of my apps,
the bottle neck is data transfer (and occasionally db
queries), not script execution.
Again, have you done some benchmark? At least read other benchmark that compares performance of scripting with native CGI? I've done it. I switch some of my web applications from PHP and Java into PSP and I got some significant performance enhancements.
Sorry, I've just never found pascal to be the best option
when doing web apps. I've done a couple in FPC because I
wanted to re-use some delphi code, but they were pretty
simple apps.
It's not enough material you can get from simple apps experience to judge something. If you learn more about PSP, than you'll get everything you love from pascal in web programming. Plus reusable code from desktop to web and vice-versa. :)
.
- Follow-Ups:
- Re: Pascal Server Page
- From: GrandmasterB
- Re: Pascal Server Page
- From: bee
- Re: Pascal Server Page
- References:
- Pascal Server Page
- From: bee
- Re: Pascal Server Page
- From: GrandmasterB
- Pascal Server Page
- Prev by Date: Re: A cross-platform vision for Delphi
- Next by Date: Re: Pondering the dev tool landscape from an outsider
- Previous by thread: Re: Pascal Server Page
- Next by thread: Re: Pascal Server Page
- Index(es):
Relevant Pages
|
|