As of this writing, there are very few true MVC frameworks written in PHP. In fact, there is only one that I know of, Solar, that is entirely pure PHP 5 code. Another one out there is Cake, which is trying to be the “Ruby on Rails of PHP.” I, personally, have a few problems with both of these frameworks. Both Solar and Cake fail to leverage existing code in PEAR, Smarty, etc. Cake appears a bit disorganized at the moment. Finally, Solar is the work of mostly a single person (not that Paul isn’t a great coder or person, but there is only a single gatekeeper at the time of this writing). These may not be issues that concern you, and if they don’t concern you, by all means check these two out.
I’m thankful for the mention, but I want to nitpick a bit. 😉
That Solar does not use PEAR: Solar does not use PEAR code, because most PEAR code (especially for the parts that Solar needs) are not E_STRICT compliant for PHP5. Because Solar aims for strict PHP5, reuse is not really an option.
Regarding Smarty reuse: Solar uses the Savant3 template system instead of Smarty. Of course, I wrote Savant too, so this may not count so much in Joe’s eyes. 😉
That Solar is the work of one person: Well, this part is true in the way he means it; I’m the founder, and pretty much the only author on the project (see below for caveats). I take a lot of direction and input from Solar users and commenters, but only insofar as their opinions match the foundational concepts of Solar to begin with.
The benefit of the “one person” model, at least in the beginning, is that the project has evidence of conceptual integrity (as outlined by Fred Brooks in The Mythical Man Month).
The drawback is that one person can only do so much work over time. If other people want to help, I’m all for it. However, my experience has been that it takes people a long time to contribute new features to a project, usually (1) after they have used and picked it apart over an extended period, and (2) when it has solved other problems for them, but fails to solve an additional related problem. (Bug reports are a different beast. 😉
Solar, as a public project, has only been around since February 2005. Six months of an in-development project is not really long enough for major contributions to arrive en masse (9 to 12 is usually more like it). I’m very happy for the help I have received so far, though:
- Clay hosts the site and acts as sounding board
- Matthew authored Solar_Filter and Solar_Form_Load_Xml
- Jean-Eric is the first translation contributor
- Travis as the “loyal opposition” to simplicity and brevity 😉
- Everyone else on mailing list 🙂
[UPDATE] When I say above that Solar doesn’t reuse PEAR code, I mean the libraries. Solar is installed and upgraded using the PEAR installer, and is distributed via a PEAR channel. The entire PHP world has Greg Beaver to thank for recent and spectacular developments on that front. 🙂