Framework for providing API access to website?(提供 API 访问网站的框架?)
问题描述
我们有一个网站,我们希望提供对其他网站的基于 Web 的 API 访问.
We have a website that we want to provide web based API access to to other sites.
它最终可能会成为基于 REST 的 API,但我还不确定.它需要可从 Drupal 模块访问,但我们希望构建可扩展的 API,以便我们可以从其他环境(如 joomla、wordpress、其他非 php 语言等)访问站点的数据和功能.
It may end up being a REST based API, but I'm not sure yet. It needs to be accessible from a Drupal module, but we want to built the API to be scalable so that we can access the site's data and functionality from other environments such as joomla, wordpress, other non-php languages, etc.
我正在寻找一个强大/稳定的基于 PHP 的框架,它允许我创建这样的 API - 人们可以提出符合标准的东西吗?
I am looking for a robust/stable PHP based framework that allows me to create such APIs - can folks suggest something that meets the criteria?
推荐答案
我推荐 Zend REST 服务器 - 它功能强大、易于扩展,并且经常在社区寻找错误"中进行审查.
I'd recommend Zend REST Server - it's robust, easily extensible and frequently reviewed in community "bug hunts".
- 这是 Zend 大师的教程
- A入门指南
- 另一个指南
- 还有一个
这篇关于提供 API 访问网站的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:提供 API 访问网站的框架?


- SoapClient 设置自定义 HTTP Header 2021-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- 带有通配符的 Laravel 验证器 2021-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01
- Laravel 仓库 2022-01-01
- 从 PHP 中的输入表单获取日期 2022-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01