[Cubicweb] Pyramid and REST

Rabah Meradi rabah.meradi at logilab.fr
Mon May 18 09:28:20 CEST 2015


On Fri, 2015-05-15 at 22:05 +0200, Nicolas Chauvat wrote:
> It is nice to see someone working on this.
> 
> 1) Here are a few links I suggest you add on your reading list:
> 
>   http://www.hydra-cg.com/
>   http://www.markus-lanthaler.com/hydra/console/?url=http://www.markus-lanthaler.com/hydra/api-demo/#
> 
>   https://cornice.readthedocs.org/en/latest/
>   https://pypi.python.org/pypi/pyramid_rest/
>   https://pypi.python.org/pypi/pyramid_restful_toolkit/
> 
>   https://www.cubicweb.org/project/cubicweb-jsonld
>   https://www.cubicweb.org/project/cwclientlib

Done, thanks. Hydra it like Swagger that I have used in the past except
that Hydra use JSON-LD.

> 3) I understand you are looking at js calls first, which is fine, but
> I think it will be interesting to look at forms too. Although
> http://www.w3.org/TR/html5/forms.html#attr-fs-method says there are
> only two possible methods for forms (GET and POST), a bit of
> javascript could help (for example, instead of POSTing the
> form in vid=deleteconf, I suppose we could send a DELETE via js).

I will look at that also. 



More information about the Cubicweb mailing list