Re: Most used oop pattern to use for php application development?

From: Date: Fri, 16 Jul 2004 15:59:18 +0000
Subject: Re: Most used oop pattern to use for php application development?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190722@lists.php.net to get a copy of this message
On Thu, 15 Jul 2004 23:57:59 -0500, Brent Clements <bclem@imaginative-enterprises.com> 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--

« previous php.general (#190722) next »