One of the new options that I am playing with is the __autoload() handler. If you keep each of your main classes in a separate file then it will try to load the class file the first time you try to create an instance of an undefined class.

There is a little bit of documentation out there about this, along with a few examples. In fact you can check out the archives from a few weeks ago, I posted the __autoload function I'm using there.

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



Reply via email to