phpc++web-servicessoapframeworks

Webservice and ORM Framework?


Does anybody know a good web framework that includes an ORM mapper and allows straight forward implementation of web services? I'm looking for a framework written in PHP or C++. I'm looking for the following features (not all of them required, some will do nicely)

So what I would like is a framework that let's me specify the objects, the web service functions on those objects and then generate everything that is required leaving me to fill the business logic (connecting the database to the web service).

Anything like that out there?

Background information for why I need this:

I'm looking into creating a web project: the client is a rich web application that fetches all its data using AJAX. It will be completely custom made using only a low level javascript library. The server back end is supposed to serve static content and javascript (basically the rich web application) and to provide a RESTful web service API (which I would like to implement using aforementioned framework).


Solution

  • I would recommend using Zend_Framework and replacing Zend_Db with Doctrine as your ORM.

    You can use Zend_Service to consume webservices and Zend_Rest_Controller to serve a REST API.

    There are some good screencasts on integrating Doctrine and Zend here. If you have alot of PHP experience, it shouldn't take very long to integrate. I believe there are even some sample integrations on Github.