Hi
Interesting post
PHP also takes memory per session,
but you're right, in Intraweb you've all controls that occupy memory, because there is also an implicit pascal to html/javascript/css translation, and also requires requests to the server,
These are ajax capable web applications, not single page applications.
But if you know how to code the javascript for changing html elements, like changing texts, colors, etc... you can do this with cgdevtools, through the .Script of each event, like JQButton.JQButtonsOptions.OnClick.
Script. In design-time you even have a intellisense editor
You can use also have IW session pooling, and very important...
You don't have to be a web designer to make all the html, css and script, as you have to do for PHP, and I can assure you that all this can be very annoying with all cross browser issues.
and you can overcome the extra memory size, compiling to 64 bits, because physical memory is cheap.
you can also have load balancing software or hardware, also in Intraweb.
also in PHP, if you want to take advantage of your existing Pascal code, you've to link PHP through dlls, if you still stick to Windows, i don't know for sure if you can do that in PHP for Windows, but i believe it can.
About not being scalable, what do you mean? Does it mean that it can't grows? if yes, why?