Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • PrestaShop 1.4 installed on a server with mod_rewrite enabled (Apache only).
  • A local XAMPP server with PHP5.

About CRUD & REST

CRUD is an acronym that stands for "Create, Read, Update, Delete". These are the four basic operations for managing data in an application.

The PrestaShop web service uses the REST architecture in order to be available on as many platforms as possible, since HTTP and XML protocols are present on countless platforms.

REST defines an architecture that represents a set of good methods to practice on the web. It defines several rules, including one that we will describe that is similar to CRUD.

In HTTP, there are 4 main methods that can perform processing on data that are defined in the REST architecture. This correspondence can also be done with CRUD and SQL:

...