[Cubicweb] Thoughts on RESTfulness and rqlcontroller
Christophe de Vienne
christophe at unlish.com
Tue Jan 27 12:34:00 CET 2015
Le 24/01/2015 01:14, Christophe de Vienne a écrit :
> I think a RESTful API is complementary of rqlcontroller.
> Full RQL access is great for endusers, but manipulating RQL in the code
> A RESTful API on the other hand is very easy to use, especially with
> libraries like Backbone or AngularJS. Such an API is also more
> accessible to third-party developers who don't need to learn RQL, which
> still getting a lot of its features.
> To achieve that I wrote cubicweb-wsme, which gives CRUD access to any
> entity of the model, along with a json-based filter syntax that get
> translated to RQL on the server side. It is a work in progress (ie
> incomplete and without bw compat for a while), although we already use
> it in production.
I made a small doc for the cubicweb-wsme cube, that explains a little
more how it works.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the Cubicweb