Page 1 of 1

Other frameworks

Posted: Sun Jun 08, 2008 11:30 pm
by jack_indigo
I want to check out some other PHP frameworks. Is there anything with a good community behind it that's just the classes for helping me do the common stuff, with no MVC attached to it? Getting pretty frustrated having to do MVC on projects. I mean, I can split out my code from my SQL and from what goes on the screen -- I don't need to be stifled by the MVC way of doing that.

Re: Other frameworks

Posted: Mon Jun 09, 2008 2:21 am
by Christopher
Do you mean you don't like MVC, or is it that you don't like Front/Action Controllers? Can you show a code example?

Re: Other frameworks

Posted: Mon Jun 09, 2008 6:20 pm
by alex.barylski
MVC is what really defines the architecture of an application, which in my opinion is what defines a framework or foundation. This is debateable, but is how I make the distinction between frameworks and libraries or toolkits.

You can use Zend as either a library or framework. I use some HTTP classes and SOAP classes without relying on the MVC components, using my own instead.

PEAR and PHPClasses are also worth mentioning. Of course there are many other individual projects you can compile into a single project to act as your own rolled library/framework.

Re: Other frameworks

Posted: Mon Jun 09, 2008 6:30 pm
by jack_indigo
PEAR is really starting to show its age. Have you looked at the last time some of those functions were updated? I'm seeing dates of 2005.

Re: Other frameworks

Posted: Mon Jun 09, 2008 6:36 pm
by alex.barylski
Haha...I've never even used PEAR to be honest but I've looked into a few times -- enough to know:

1) I don't like it
2) It's more a collection of classes with some kind of standard which is better than nothing.

Re: Other frameworks

Posted: Mon Jun 09, 2008 7:45 pm
by Christopher
Hockey wrote:MVC is what really defines the architecture of an application, which in my opinion is what defines a framework or foundation. This is debateable, but is how I make the distinction between frameworks and libraries or toolkits.
I think the fairly simple decision on whether to maintain the two separations define in MVC is one discussion. I think the design and features of Front/Action Controller architectures is a separate, higher-level design discussion. They are certainly related, but that is true of many, many design concepts. Plus, I think ZF is more of a Model-Presentation implementation than MVC. Again showing an example of how it is more of a controller architecture discussion.