REST api or webservice?

thanks for your answer !

however i didn’t mean converting discourse, i meant having a (minimal) rest api in php to be used from a website server (not the discourse server) that would not require RoR to :

  • deliver anything from the website server that doesn’t add/remove/update anything from the forum to the client (first page of session, page reload, SE bots )
  • be able to cache contents on that website server - with obviously some extra js to handle user events so to manage up to date cache on website server

(so only participating users would ever query the discourse server)

or are you saying there aren’t straightforward way to use/integrate discourse within a php/sql app & i should look elsewhere ? what about webservices ?