Hello,
I have a couple of newbie questions about writing web apps with LAMP servers:
1.
Why write scripts in PHP instead of long-running processes? For heavily loaded servers, it would seem a better idea to keep the application in RAM with open connections to MySQL + global variables, instead of reloading PHP pages every time + reopening connections to the database + keeping variables in eg. MemCacheD
Why are there still so many sites where links reload the whole page instead of just using AJAX to update just the one section in the page that needs to be refreshed? Is this due to browser incompatibilities or security reasons maybe?
Thank you.