thanks for your input people. im a little confused with patterns and stuff having never eally done any oop before. ive only been programming for 18 months, and i started with asp. vbscript has classes, but nowhere near the features of php.
anyway. i had been told by someone on this board a while back that i should only really relate objects that should relate. ie: have your 'dog' class inherit from your 'animal' class. when i started this app, i could'nt really see how any of the objects related, but now i can see that some do, and some should.
the ones that stand out in particular are the 'threads' and 'articles' classes. bassicaly, each thread is a section of the site (eg: home, about....), and of course the aricles are the content for each thread. pushing it even further, both these objects could (should?) somehow be related to the template class as this actually generates there output.
im just not sure how to glue this all together. your comments have been a great help, and have led me to find a new site for some ideas. (phppatterns)
im gonna have a bit of a read over there and see if i can come up with (or if i need) another approuch.
one more question. im a little concerned about some of these objects returning arrays. i meen, it works, i just dont feel comfortable with the idea, and think i should return objects instead. i realise its probably just personal preference, but any opinions would be welcomed.
thanks again.
ps: LordShryku. im not 100% sure why i did such things with globals. guess i just wasn't thinking. hehe. i'll clean that up when i get home.