On Tuesday 12 September 2006 07:38, Jan-Wijbrand Kolman wrote:
> But I have the feeling this can be done more elegantly. I did notice
> something in this direction in zope/app/dav/configure.zcml, but I'm not
> sure this actually helps. It could be I overlook something very very
> obvious...

Hi JW,

you have two choices:

1. Implement HTTP verbs as methods. See the resources implementation. 

2. Register some view having the method name as the view name. See 
SchoolTool's REST implementation, for example, schooltool.person.rest.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-users mailing list

Reply via email to