Difference between revisions of "REST"

From air
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
* Un systeme en couche
 
* Un systeme en couche
 
* Du code sur demande
 
* Du code sur demande
  +
  +
Le [[Richardson Maturity Model]] caractérise les implémentations REST d'applications.
   
 
Quelques réponses aux questions que l'on peut se poser sur REST: [http://restcookbook.com/ Rest cookbook]
 
Quelques réponses aux questions que l'on peut se poser sur REST: [http://restcookbook.com/ Rest cookbook]
Line 31: Line 33:
 
===[[Javascript]]===
 
===[[Javascript]]===
 
* [[Node.js]]
 
* [[Node.js]]
  +
* [[Loopback]]
  +
* [[Restify]]
   
 
==Studios==
 
==Studios==
Line 37: Line 41:
   
 
=Liens=
 
=Liens=
  +
* [http://shop.oreilly.com/product/0636920028925.do Bill Burke, RESTful Java with JAX-RS 2.0, 2nd Edition, Designing and Developing Distributed Web Services, November 2013] ([https://github.com/oreillymedia/restful_java_jax-rs_2_0 Source code of book examples])
 
 
* Martin Fowley, [http://martinfowler.com/articles/richardsonMaturityModel.html Richardson Maturity Model : steps toward the glory of REST], 2010
 
* Martin Fowley, [http://martinfowler.com/articles/richardsonMaturityModel.html Richardson Maturity Model : steps toward the glory of REST], 2010
 
* http://restpatterns.org/
 
* http://restpatterns.org/
  +
* [http://refcardz.dzone.com/refcardz/rest-foundations-restful Refcard #129 Foundations of RESTful Architecture]
  +
* RESTful APIs, the big lie http://mmikowski.github.io/the_lie/
  +
==Livres==
  +
* Livre [http://martinfowler.com/books/sdp.html Service Design Patterns : Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services]
 
* [http://shop.oreilly.com/product/0636920028925.do Bill Burke, RESTful Java with JAX-RS 2.0, 2nd Edition, Designing and Developing Distributed Web Services, November 2013] ([https://github.com/oreillymedia/restful_java_jax-rs_2_0 Source code of book examples])
  +
* [http://shop.oreilly.com/product/0636920028468.do RESTful Web APIs] by Leonard Richardson, Mike Amundsen and Sam Ruby, 2013. O’Reilly Media.

Latest revision as of 22:27, 16 December 2016

REST(REpresentational State Transfer) est un style d'architecture, pour les systemes hypermedia distribues, decrit par Roy Fielding dans sa these.

Bien qu'etant inspire de l'architecture du web actuel, REST n'est pas lie exclusivement au protocole HTTP, bien que ce dernier soit son utilisation la plus frequente. CoAP et WebDAV sont d'autres protcoles pouvant etre utilises dans une architecture REST.

L'architecture REST preconise 6 criteres:

  • Un style de communication client/serveur
  • Des interactions sans-etat
  • L'utilisation de cache
  • Une interface uniforme:
  • Un systeme en couche
  • Du code sur demande

Le Richardson Maturity Model caractérise les implémentations REST d'applications.

Quelques réponses aux questions que l'on peut se poser sur REST: Rest cookbook

Frameworks

Java

YAML

RESTful API Modeling Language (RAML)

Javascript

Studios

Liens

Livres