PHP Development
Ant Cunningham
prodigitalson at vectrbas-d.com
Fri Jun 27 14:08:37 UTC 2008
On 6/27/08 9:58 AM, "Scott" <slewin at bmts.com> wrote:
> I was always wondering how modular I should make my code. I have used
> include a little bit, but I never know how large of a script is too
> large. I will make sure to make my code more modular, and try and make
> more include statements, thanks.
Well I wouldn't thin kin terms of size so much as in terms of functionality
or data encapsulation. This makes for a lot of small to medium sized files
just by nature. For instance before I started doing OOP stuff I would
typically have one main controller file, one for each mysql table (soley for
setting and getting dat ain the database), various configuration files, one
for global functions, and then several files for different "libraries" of
functions, and different snippets of presentation.
More information about the kubuntu-users
mailing list