You are here: Re: Best way of calling multiple classes? « PHP Programming Language « IT news, forums, messages
Re: Best way of calling multiple classes?

Posted by Phil Latio on 08/29/07 01:09

> I just put in the include statements.
>
> Actually, I don't use include - I use require_once. And if a class
> depends on another class (often in my case), the require_once goes in the
> requiring file.

This is what I doing now. I am just getting fed up with it.

> __autoload is good - but it requires extra processing over and above a
> require_once, and pretty much everything has to reside in the same
> directory.

I had heard of __autoload before but never realised what it did. I did a
Google after getting the other reply and came across
http://tobias-demuth.de/en/index.htm which looks interesting. Bit
frustrating that the author hasn't included some examples and a bit more
documentation because I don't fully understand how it supposed to work.

Cheers

Phil

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация