You are here: Re: [PHP] PHP 5 Question about OO « PHP « IT news, forums, messages
Re: [PHP] PHP 5 Question about OO

Posted by Marcus Bointon on 06/02/05 14:46

On 2 Jun 2005, at 11:56, Colin Ross wrote:

> The way I see it, you are gonna be spending quite a bit of time
> writing all those lines of code for the class, what is bad about
> another requiring the file each time?

Huh? Writing a 1-line function in a base class means that I would
never have to write another require anywhere in my library (other to
include the base class of course, which could conceivably be picked
up by a global autoload anyway). Each of my 50-odd classes probably
talks to 5 other classes in the library, giving a net saving of 250
lines. How is that bad? (I am talking hypothetically anyway as we
don't have autoload methods at present).

This thread is meant to be about how to improve automatic include
file location - saying not to try to do it at all is not very helpful.

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

 

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

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