[Cubicweb] Pyramid and REST

Christophe de Vienne christophe at unlish.com
Mon May 18 15:54:13 CEST 2015


Hi,

Also, look at https://www.cubicweb.org/project/cubicweb-wsme, which
provides a REST api.

It is not perfect (far from it) but is a working solution for short term
needs. I hope a more general and robust solution will emerge from these
discussions and the pyramid-cubicweb project.

Christophe

Le 18/05/2015 09:28, Rabah Meradi a écrit :
> 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. 
> _______________________________________________
> Cubicweb mailing list
> Cubicweb at lists.cubicweb.org
> https://lists.cubicweb.org/mailman/listinfo/cubicweb
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20150518/ba161b5b/attachment-0050.sig>


More information about the Cubicweb mailing list