You are here: Re: one large, or many small files? « PHP Programming Language « IT news, forums, messages
Re: one large, or many small files?

Posted by JDS on 12/02/24 11:28

On Tue, 04 Oct 2005 04:04:11 -0700, marco.avidano wrote:

> I'm asking: for the PHP parser, it's better to create one large file
> with all the code inside or a lot of small files?
> Can a large file slow down the execution of the script?

Don't worry about it. Speed differences will be negligible.

From a programming practice point of view, though, multiple include()ed
files often make a large project easier to build and maintain. All of
your functions in one file, an HMTL header and footer in others,
business logic in still others...

Programming practices Haiku

Keep style consistent
Use comments, annotation
Remember to reuse code


later...
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 

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

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