On Thu, 15 Jul 2004 23:57:59 -0500, Brent Clements <[EMAIL PROTECTED]> wrote: > Good Evening All, > > I know this will probably start a flame war, but I want to get everyone's opinion on > which oop pattern is either the accepted pattern or most used pattern for php > application. > > I'm pretty partial to MVC but it has it's benefits and drawbacks. What does everyone > else use? > > Hopefully my question will start some meaningful conversation. Unless of course I'm > asking a redundant question and this has already been answered. Excuse my redundancy > if it has. >
Many PHP developers use the MVC pattern (sometimes loosely) when developing applications. I find it very useful in my larger applications. For small things, my view and controller tend to be the same piece of code. As for other patterns, many PEAR libraries implement other ones and I use them from within my apps constantly. IMHO, many of the other design patterns (drivers, decorators, renderers, factories, etc) are library-level. They work very well for a specific piece of code which fits into MVC in one of its areas. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php