| Article: |
The PHP Scalability Myth | |
| Subject: | Fundamental Platform Differences and why PHP scales better | |
| Date: | 2003-10-16 06:35:47 | |
| From: | anonymous2 | |
|
One thing the article failed to make clear is the fundamental difference between PHP, running as an Apache module, and a Java application running on an application server.
|
||
Showing messages 1 through 3 of 3.
-
Fundamental Platform Differences and why PHP scales better
2003-10-17 05:00:47 acostin [View]
-
Fundamental Platform Differences and why PHP scales better
2003-10-17 04:57:36 acostin [View]
implement a Front Controller in PHP in a Struts-like fashion .. is not possbile
I have to say that there is a way to do this in PHP, based on other language features we have - that is conditional file require. What we do in the Fundamental Platform Differences and why PHP scales better
2003-10-16 09:55:26 anonymous2 [View]
> All you need to do is replicate the a mimimal user session store (which hopefully you didn't put in your database!)
I'd like to hear the reasoning behind this. Is it performance issue (files over db)? Or scalability (at least dbs can be replicated)?



I have to say that there is a way to do this in PHP, based on other language features we have - that is conditional file require. What we do in the Krysalis platform - http://www.interakt.ro/products/Krysalis/ is to compile the Controller (sitemap.xml) to a suite of optimized PHP files that are required as needed.
Alexandru