by Phithagoras · 10y ago · 0 comments
This means that there is a conflict between performance and having a well structured object oriented framework.
Demand loaded classes and byte code help a lot with that: http://www.yiiframework.com/performance/
Best would be a model where a persistent process handles multiple requests concurrently, but that is not normal for PHP. So you need to make sure that all the libraries you are using are not leaking, have a nice db connection pool, and write a PHP framework that handles concurrency. Might as well use a better language at that point :-)