[Cubicweb] Thoughts on RESTfulness and rqlcontroller
Christophe de Vienne
christophe at unlish.com
Tue Jan 27 14:14:44 CET 2015
Le 27/01/2015 14:02, Nicolas Chauvat a écrit :
> On Tue, Jan 27, 2015 at 12:34:00PM +0100, Christophe de Vienne wrote:
>> I made a small doc for the cubicweb-wsme cube, that explains a little
>> more how it works.
> I will take a look and see if I use it in the (cubic)webcomponent I
> have been developing this week:
> Example of use:
> <div data-cw_baseurl="%(baseurl)s"
> To write the views in js, I will need to GET the data, either via
> cwclientlib+rqlcontroller or via XMLHttpRequest+wsme.
> Is it plain XMLHttpRequest that you use on the client side or some
> other library?
On the client-side we use Backbone collections and models, which we
customized a little to support nested entities update more easily.
But out of the box it works pretty well.
I guess we could make these tweaks opensource, if someone is interested
(we did not for lack of time only).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the Cubicweb