Re: PEAR application framework
| From: | Ron McClain | Date: | Thu, 14 Aug 2003 15:09:07 +0000 |
| Subject: | Re: PEAR application framework | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7209@lists.php.net to get a copy of this message | ||
There's been some discussion of this on the mailing lists, and I believe that
the consensus reached was that pear is not the place for such monolithic
packages because there is not likely to be a consensus on which packages
should provide the functionality, so we'd likely end up with competing
packages like the templates situation. I think that pear is designed to be
a set of small, reusable components that can be glued together by application
developers in any way they see fit.
With that said, have you looked at phrame? http://phrame.sourceforge.net.
I'm using phrame with flexy templates and quickforms for the views currently,
and it works pretty well. There's also phpmvc (http://phpmvc.net), but I
don't know much about that one except that it's modelled after Java Struts.
-Ron
Jackson Miller wrote:
I am sure I am not the only one who is interested in there one day being a PEAR application framework package(s). I am wondering who else has been thinking about this and if anyone is working on such a project. I would like a system that glues together the best of the best packages of PEAR. This would include a Templating package(Smarty? IT?), Auth package (probably LiveUser and something more simple for sites that don't need LU), database abstraction (MDB + MDB_Query_Tool), QuickForm, some XML stuff, SOAP, the MAIL API, etc. I am thinking that the glue that could pull this together would be a base module class that provides a consistent API for having pages interact with the packages listed above. There may even be a good way to have dependencies and some sort loadable module support. I understand that what I am describing is similar to projects like MVC.php, but there is a sense of security in PEAR and the PEAR process. Has anyone else been mulling this over? Has anyone began work on such a project? Is this a stupid or immature idea? Thanks, -Jackson