Couple crazy ideas..

The framework needs a debug mode, there are a lot of checks to make the framework more "friendly" to develop with but once a site launches they just are not really needed.


There has been a bit of talk on pecl about apc and opcaching and basically use of variable driven includes/requires tend to reduce the effectiveness of opcaching not to mention the use of __autoload.

What would be nice if in debug mode the framework tracked what files where loaded and how often, You could then provide a preLoad class that you pass a threshold to, based on that threshold it would build a php file with class files included, full path and such. This way you could preload classes that are used often and get more optimal use out of your opcache.


--
Richard Thomas - Code Monkey
Cyberlot Technologies Group Inc.
507.398.4124 - Voice

Reply via email to