On Thu, 4 Apr 2002, Maxim Maletsky wrote:
> You can try to load all those classes as texts into a db and then to execute 
> the needed ones as eval()ed strings. It could be easy for you to create the 
> logic because the PHP code are stings and are never included but SELECTed. 
> Not sure if this could be wise to do, just throwing out an idea. 

Offhand I'm guessing the payoff wouldn't be great, because you'd lose the 
benefit of PHP's own code caching. Depends on how much of this voluminous 
code actually gets used on any one run, I suppose. But why not do the same 
thing with conditional includes, and then at least let PHP cache it?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to