Yeah same here. It has the cleanest mapping from REST resources to Python class + method. It just made sense to me:
The router block at the top plus:
class MyResource:
def GET(self,...): ...
def POST(self,...): ...
def PUT(self,...): ...
def DELETE(self,...): ...
Looks really nice. Haven't tried serving or rendering templates from it, so never tested that code.
Re:Rewriting Reddit (2005)
by tiglionabbit on Monday October 27, 2014 @03:17PM
(#8517521)
Check out Flask's MethodView
Oh Cool. Hadn't seen that before. I like MethodView dispatch pattern.
The current github page is here: https://github.com/webpy/webpy
If you are looking to get up and running quickly, I would recommend forking this skeleton: https://github.com/jzellman/webpy-skeleton
Finally, the built in database framework is a bit simplistic. I like to pair this with Peewee (included in the webpy-skeleton).