lightweight RESTful PHP server

 ̄綄美尐妖づ 提交于 2019-12-07 02:17:31

I might suggest that you use the ZendFramework for your REST server. The basic conventions have already been implemented for you, and this will allow you to focus on your specific requirements (data, text, compression, etc).

Here is the reference manual page for Zend REST: http://framework.zend.com/manual/en/zend.rest.server.html

Also, here's a blog post I wrote in my personal experience with using Zend REST: http://ajcoon.blogspot.com/2009/09/rest-services-supporting-xml-and-json.html

Even though I used it to return XML and JSON, one could easily define their own view that uses a different encoding/format for their data.

Here's a possibility to consider: Upload the table of data to Amazon SimpleDB, and then use this: http://blog.webservius.com/2010/09/14/introducing-amazon-simpledb-integration/ (It automatically turns any SimpleDB table into a full-featured REST API complete with JSON support, developer signup page, etc, etc...)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!