toastdriven/restless — pull request #24 by mission-liao (2014-07-16 06:54:17+00:00)
Title: Add tornado support

I found the philosophy behind this mini-framework is very similar to what I image a REST framework. In short, I like it, but it didn't have tornado support(which I work on right now).

I spent one day to figure out how to bridge restless and tornado. And it works! The pull request is here, and please let me know if you have any concerns.

One thing to note is I can't find a nice hook to handle 'Future' returned by view_method, thus I have to implement TornadoResource.handle (just copied from Resource.handle) and add one tiny if to it. One suggestion is to split Resource.handle to smaller functions.

This framework perfectly demonstrates the idea "less is more", good job!