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 访问网站的框架?
基础教程推荐
- 在多维数组中查找最大值 2021-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- Libpuzzle 索引数百万张图片? 2022-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01