Page 1 of 1
a good OOP pattern ??
Posted: Fri Aug 17, 2007 6:15 am
by PHPycho
Hello forums!!
I am not new to OOP but would like to make the whole site 100% object oriented. Can anybody suggest/provide a small application or framework (not a big one) so that
one can understand the concept of making a whole application in OOP way.
Waiting for the suggestions and comments.
Thanks n advance to all of you.
Posted: Fri Aug 17, 2007 7:45 am
by Chris Corbyn
Why don't you download something like symfony and have a poke around in the source code. Effectively what you're looking for is a framework.
http://www.symfony-project.com/
Apart from that your question is way too vague. Some key design patterns to look into however would be:
* MVC
* Front Controller
* Object relational mapping and/or active record
* Composite view
Posted: Fri Aug 17, 2007 8:09 am
by vinoth
hi
There are lot of frameworks are available.
Exactly [s]u[/s]
you tell what kind of site you have to develop.?
Then we suggest the framework according to that..
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Posted: Tue Aug 21, 2007 5:31 am
by PHPycho
It should strictly obey the MVC patters with clean URLs like
http://mysite.com/users/show/3