John Coggeshall wrote:
There is absolutely no reason why you cannot simply include your
functions in your scripts
  Erm, to avoid manual work? There is no reason whatsoever
  to include files manually.

  Right now you must pre-load every single
  class you intend to use in the application. This may or
  may not be a problem, depending on the size of the application,
  since the engine must parse hundreds of KB of code. I use classes
  for everything and I would prefer to have one file per class,
  and to load classes on demand. Makes maintenance much easier.

  The patch for this is trivial. It was made a while ago and
  it seems that it still works (just tried it with 4.2.3)

http://www.webkreator.com/php/configuration/automatic-php-class-loading.html

--
Ivan Ristic, http://www.webkreator.com


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to