开发者

Framework to write PHP web service

Is there a specific framework out there for PHP to write a REST web service and expose it to JSON?

Or you just basically code it...

I am writing a REST web service, mostly to communicate with a database in MySQL, authentication, etc.开发者_开发技巧..

What advantages is there with a framework? Is it more secure?


Have a look at Frapi. Here is the documentation for it.

As for the reasoning, similar to a normal PHP framework.

  • Documentation
  • Support
  • Community
  • Multiple devs contributing
  • Not re-inventing the wheel

etc etc


Check out http://www.recessframework.org/


The package Zend.Rest [1] is very nice!

[1] http://framework.zend.com/manual/en/zend.rest.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜