views:

87

answers:

3

I'm working on a CMS for some of our projects, but would like to ease the work a bit by using a framework. This is what I need from a framework:

  • A framework that implements basic things like session management for me. Is there one?
  • A framework that supports REST. Is there one?
  • A framework that doesn't cause my CMS to break when the framework is upgraded. Is this something that I have to implement myself or can the framework help me.
  • A framework that's very object oriented. Am I right assuming this is a good thing?
+2  A: 

The Zend Framework is allways a good choice. http://framework.zend.com/

Or you could go with CakePHP if you want it a bit more Rails like (do it the framework wants you to do it and you have to configure/write less to achive the same)

sod
+1  A: 

Symfony is a nice framework that works well, in my experience, for custom CMS work. It's well integrated with the Doctrine ORM library, and the combo simplifies solutions to a lot of CMS problems. It also provides a nice set of feature for building REST interfaces.

Personally, I don't like how opinionated Symfony can be, so I use it sparingly (but often, for CMSy things where ActiveRecord doesn't seem to be an obstacle). For more complex problem domains, I prefer the Zend Framework, which sod recommends in his answer. It's very solid, provides a lot of great functionality, and it's easy to use as much or as little as you like. It provides no "model" layer, by design. That's a Good Thing if you're not buildng yet-another-cms/blog/etc

timdev
+1  A: 

Look at symfony. For REST thing there are even generators: http://www.symfony-project.org/plugins/sfDoctrineRestGeneratorPlugin and http://www.symfony-project.org/plugins/ckWebServicePlugin/1_5_0

ts