Zend Framework Ajax =================== XMLRPC Json RPC Use write To cache (No ttl just push data) Zend facon cool de créer des rest en donnant le model HTTP Headers : Use content-type pour ce qu'on envoi Accept pour ce qu'on peu recevoir Range: how many bytes or items should be returned in the response HTTP Response: 201 Created 400 bad request 204 No content (often used after successful DELETE) Response Headers - Content-Range - Vary: hint to client-side caching which headers should be used to determine whether or not to cache (and ETAGS) Utiliser le meme controller mais si accept ne prend pas le html on peu envoyer en JSON ou XML View scripts should set appropriate headers Pour avoir les params $this->_helper->getParams($p); (qui vas recup les params en fonction du content-type) Contant-Range: items 10-20/30 Joind.in 883 Facebook mod mysql pr clear cache on query update