Re: One big file or many includes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't know about whats best for the compiler (rather interpreter), but if
it is a really big site with a lot of access, transaction and management
functionality I recommend you start breaking the code into classes and
separating each class into a file and documenting... A LOT! It will be
clearer to understand and maintain. IMHO.

There are lots of sites out there that describe how to separate web code
into layers such as: display, logic/rules, database interactivity, etc.

Aaron

On 12/15/05, Martin Leduc <marled3@xxxxxxxxxxx> wrote:
>
> Hi everyones,
>
> I coding PHP since 2002 and this is the first time I have to take this
> decision.
>
> My group and I have to build a VERY, VERY BIG website for a callcenter
> users.  Understand I have to create (or use ;)) several code for access,
> transactions and management.
>
> The customer had buy MSSQL server, so we have to use it and it's working
> very fine.  NO MYSQL!!!! (is not my personal choice ;))
>
> Currently it's already hard to program and now we have many file.  We have
> only 20% done and the code are a real mess!!!
>
> Creating Class, functions, splitting code in several php files using
> include, see the files sitemap??
>
> So for the optimisation topic, what is THE BEST for the PHP compiler.  One
> big file or many included files?
>
> Regards
>
> Martin
>
> PS:  If some one know somes related links about the subject, please dont
> hesitate. ;)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux