This version of Backend will be deprecated soon. Check out the development of the latest version on GitHub

Making backend RESTful

To improve usability across a number of different types of web clients and consumers, backend should be able to handle RESTful requests.

For this to be realized, a number of things should happen:

  1. The different REST verbs (GET, PUT and DELETE) should be recognized and translated correctly.
  2. The correct headers should be sent in response to these verbs.
  3. Resources should be nouns, and not verbs. As an example:
    ?q=content/5 is a noun (content number 5) and is equivalent to
    ?q=content/display/5 which is a verb (display content number 5)
    For a RESTful webservice, the noun is preferred.

The recommendations made in these articles should also be considered.

Although these three points have not been implemented yet, they are in the pipeline.

 
Download v.1.0.3 ZIP | GZ
Backend-PHP is an easy to use Web Application Framework and Data Manipulator and Translator for the Web Developer.
Follow us on Twitter. Now.   Get the latest news via News Feed.