提供 API 访问网站的框架? [英] Framework for providing API access to website?

查看:18
本文介绍了提供 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".

这篇关于提供 API 访问网站的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆