The script isn't object oriented as such (where classes are typically used); but I have used a standard naming convention so you can see instantly what include file a function is in.
For example, every function in includes/tapestry.php begins "tapestry_", such as tapestry_normalise(). In terms of attributes; like the functions any global variables required by functions within each of the includes will also being with the filename and then an underscore. This way, you can safely add variables within a single file and be sure that it won't conflict with anything else!
Hi,
The script isn't object oriented as such (where classes are typically used); but I have used a standard naming convention so you can see instantly what include file a function is in.
For example, every function in includes/tapestry.php begins "tapestry_", such as tapestry_normalise(). In terms of attributes; like the functions any global variables required by functions within each of the includes will also being with the filename and then an underscore. This way, you can safely add variables within a single file and be sure that it won't conflict with anything else!
Hope this helps,
Cheers,
David.