Daily Shaarli

All links of one day in a single page.

June 11, 2015

JSON-LD - JSON for Linking Data

C'est la description d'un format pour réaliser des API RESTful. Ou tenter de réaliser.
C'est le format le plus adapté mais il en existe d'autres.

Quelques liens pour l'installation d'un serveur Satis
http://jsonpatch.com/

Description du format JSONPatch pour utiliser lors des requêtes HTTP PATCH.

Il faut noter que PATCH est très différent de PUT. C'est un format similaire au format obtenu lors de création d'un patch avec git ou la commande patch.
C'est un format décrivant les opérations à effectuer sur des données et ce n'est pas un update partiel.

Quelques liens pour essayer de comprendre REST

[Video] Nobody Understands REST, but That's Ok ;-) - http://williamdurand.fr/2015/06/02/video-nobody-understands-rest/

A Beginner’s Introduction to HTTP and REST - http://net.tutsplus.com/tutorials/other/a-beginners-introduction-to-http-and-rest/
Create a REST API with PHP - http://www.gen-x-design.com/archives/create-a-rest-api-with-php/
http - Paging in a Rest Collection - Stack Overflow - http://stackoverflow.com/questions/924472/paging-in-a-rest-collection
Mise en place d'une API REST en PHP - http://www.pulsar-informatique.com/Actus-Blog/Entry/mise-en-place-api-rest-en-php.html
REST APIs with Symfony2: The Right Way - http://williamdurand.fr/2012/08/02/rest-apis-with-symfony2-the-right-way/
RESTful_Best_Practices-v1_1.pdf - http://www.restapitutorial.com/media/RESTful_Best_Practices-v1_1.pdf
Towards RESTful PHP - 5 Basic Tips - http://www.recessframework.org/page/towards-restful-php-5-basic-tips
Symfony2 REST API: the best way - http://welcometothebundle.com/symfony2-rest-api-the-best-2013-way/
REST_Client et REST_Puller à la sauce Swift - http://blog.touv.fr/2010/08/restclient-et-restpuller-la-sauce-swift.html

REST - Can You do More than Spell It?
part 1 - http://phpmaster.com/rest-can-you-do-more-than-spell-it-1/
part 2 - http://phpmaster.com/rest-can-you-do-more-than-spell-it-2/
part 3 - http://phpmaster.com/rest-can-you-do-more-than-spell-it-3/
part 4 - http://phpmaster.com/rest-can-you-do-more-than-spell-it-4/

PHP Rest Server
part 1 - http://www.lornajane.net/posts/2008/PHP-Rest-Server-part-1-of-3
part 2 - http://www.lornajane.net/posts/2008/PHP-Rest-Server-part-2-of-3
part 3 - http://www.lornajane.net/posts/2008/PHP-Rest-Server-part-3-of-3