Skip to content

Tag Archives: devlog

ATOM-style REST endpoints with tipfy/werkzeug

04-Nov-10

I’m very used to and (somewhat) pleased with how Routes let’s you set up REST endpoints, so I was very irked to discover that Tipfy does not support the notion of a resource. Routes will let you do something like map = routes.Mapper(…) map.resource(’teapot’ , ‘teapots’) which will create a mapping like GET /teapots -> controllers.teapots.TeapotController.get() [...]