[thelist] PHP script design tips

rick rick at techno-weenie.com
Fri Aug 31 20:22:53 CDT 2001


I've been playing with PHP for almost a year now, but I have no formal
programming training.  So, I'm getting to the point where I understand how
most of the PHP functions work and how to accomplish most common tasks.  But
I find that I'm having problem with fundamental programming issues.  Like:
I want to modularize my code and all, but then I'm left with tons of smaller
files, and each script call is including maybe 3-5 extra libraries.

Also, my "admin" portion for my weblogging script is all ran from a central
index.php file.  It parses a query string, loads the required library, then
displays the page.  Is this a bad way to do things?

I have a lot of little script design issues like this I'd like some advice
on, and I'm sure some of you have a lot more experience + knowledge.  I'd
appreciate any input...

rick
http://techno-weenie.com





More information about the thelist mailing list