Re: Pascal Server Page




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. :)

.



Relevant Pages

  • Re: What Vistas going to look like...
    ... >>> so scripted apps can do more heavyweight stuff. ... OS X ships with PHP. ... (Ruby on Rails, for instance, though this will ...
    (comp.sys.mac.advocacy)
  • Re: Venting on .NET
    ... eg my bank's online site just doesn't ... It's really amazing the how simple web apps are to use. ... no mainstream MS apps use Doc/View. ...
    (microsoft.public.vc.mfc)
  • Re: running php on an ipod touch
    ... All of the hacks I've seen have focused on user-level apps. ... attempt to even get Apache running on it, much less PHP. ... any webserver (and there are quite a few very small, ... iPod touch -- if you could install anything at all on them. ...
    (uk.comp.sys.mac)
  • Re: Hack attempt
    ... It is a feature in PHP which you should ... This is a common web apps vulnerabilites. ... The host should be restricted to the only connections it is supposed ... In this case, a proper network filtering ...
    (Focus-Linux)
  • Re: Compiling PHP and/or any PHP Extension on VMS
    ... technology by managers who do not have a vision longer than next month is ... Some of those freely available PHP apps are very feature rich. ... "poor code quality => likely that there exists SQL injection ... web apps. ...
    (comp.os.vms)