View Single Post
Old 05-16-2009, 09:50 PM   #2 (permalink)
gregor171
The Wanderer
 
gregor171's Avatar
 
Join Date: May 2009
Location: Ljubljana, Slovenia
Posts: 9
Thanks: 0
gregor171 is on a distinguished road
Default

The answer would be NO if...

Since mentioning Objects. A good idea about how to do this OOP way is by using Object patterns:
http://en.wikipedia.org/wiki/Design_...puter_science)
http://www.ibm.com/developerworks/li...AGX01&S_CMP=LP
http://www.ibm.com/developerworks/op...GX44&S_CMP=EDU

I read a good PHP based book about this topic
PHP Objects, Patterns, and Practice by Matt Zandstra (Apress, 2008)

This might give you some ideas, how to solve this. I know. I have the same problem every time. If I study to much about one problem, new problems will arise and I'll have to study even more.

By making a good architecture you might lose some performance, but you'll gain more elsewhere.
__________________
WEB Developer
http://xweblabs.com
http://grajzar.info
Send a message via Skype™ to gregor171
gregor171 is offline  
Reply With Quote