RESTful接口到PHP论坛软件 [英] RESTful interface to PHP forum software

查看:300
本文介绍了RESTful接口到PHP论坛软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在找一个轻量级的论坛功能集成到现有的GWT网站。前端是写在GWT / SmartGWT的和后端使用PHP编写。通信是通过使用JSON一个RESTful API。

I'm looking to integrate a light-weight forum feature into an existing GWT website. The front-end is written in GWT/SmartGWT and the backend is written in PHP. The communication is through a RESTful API using JSON.

我已经调查了一些流行的软件(SMF,phpBB的,等等)的论坛,但未能找到一个RESTful网络API,任何引用,使集成到现有的非PHP网站更容易。我来最接近的是vBulletin的Mobile API - 的https://www.vbulletin .COM /论坛/ content.php / 334移动-API 。不幸的是,vBulletin是不是免费的。

I have looked into the forums of some popular software (SMF, phpBB, etc.) but was unable to find any references to a RESTful web API to make integration into an existing non-PHP site easier. The closest I came is to vBulletin's Mobile API - https://www.vbulletin.com/forum/content.php/334-mobile-api. Unfortunately, vBulletin isn't free.

我看到的一些论坛最近的一些基本线程说,用户应该写周围的内部API自己的Web服务的包装。然而,这似乎是一个坏的解决方案,可以导致各种额外的错误。

Some recent threads I have seen on some of the forums basically say that the user should write their own web services wrapper around the internal API. However, that seem like a bad solution that can lead to all kinds of additional bugs.

所以,我的问题是 - ?没有人知道一个现有的,免费论坛软件(PHP,Perl和Ruby的好,但不是Java),它提供一个RESTful Web服务接口的

So, my question is this - does anyone know of an existing, free forum software (PHP, Perl, Ruby OK, but NOT Java) that provides a RESTful web services interface?

这个辅助的问题是:使用了人Restler(http://luracast.com/products/restler/)打开一个论坛,软件发布的API变成一个RESTful接口?我敢肯定,这方法是充满了潜在的问题,而是一个可以随时希望。

An ancillary question to this is: has anyone used Restler (http://luracast.com/products/restler/) to turn a forum software's published API into a RESTful interface? I'm sure this method would be fraught with potential problems, but one can always hope.

PS:我看到计算器以下旧的问题,但他们似乎并没有是有帮​​助的,现在慈祥的老人​​:

PS: I saw the following older questions on stackoverflow, but they don't seem to be that helpful and are now kind of old:

  • Open-Source Forum with API
  • PHP forum software that integrates easily with existing website? -- the OP's website is built in PHP, which makes integration a lot easier
  • forum software with a simple RESTful API support -- Elgg, while a great social networking framework, doesn't include a forum plugin!
  • A forum solution with an Q&A option and API -- same issue as OP, Drupal is really heavy-weight and all I want is the forum functionality.

推荐答案

看起来像 香草论坛 适合你的账单,他们支持 JSON / XML基于API

这篇关于RESTful接口到PHP论坛软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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