I don't have specific experience with REST, but I return json using 
Python scripts and XML is page templates are supported. So, at least the 
basics are possible, if you need more automatic generation from Python 
objects I don't see why it would not work but I have no idea if it 
exists a library for that in zope2.

Fernando

On 09/14/2011 12:59 PM, Vimal wrote:
> Hi all,
> We need to implement a webservice for our Zope 2 website. Among SOAP and
> REST, REST appears to be easier to implement for what we need - return json 
> or 
> xml based on the URLs accessed. Zope 3 supports REST (z3c.rest) but not Zope 
> 2. 
> Does somebody have experience implementing REST on Zope 2? 
>
> Regards,
> Vimal
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>   https://mail.zope.org/mailman/listinfo/zope-announce
>   https://mail.zope.org/mailman/listinfo/zope-dev )
>

_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to