BAAS模式的开发思路
by x3d posted on 2016-05-23 1837
如今,有一种BAAS服务(后端即服务)的模式,即无需编程即可生成后端应用及相应API。
Drupal这套CMS下,有一款插件Services,可以在线直接自定义各种格式如json、xmlrpc、webservice等的API接口,并且具有版本化管理的功能,牛之极。
https://www.drupal.org/project/services
- Service API allow modules to create other services, including pluggable access control
- Server API allow modules to create other servers, such as SOAP
- Aliasing methods
- Integration with core Drupal functionality like files, nodes, taxonomy, users, files and more.
- Response format API allows you to define response Formats for CONTENT-TYPE ie. application/json or application/xml. (also calls such as ENDPOINT/node/1.json work)