On Apr 29, 2009, at 10:52 AM, Martijn Faassen wrote:
Eventually I might want to do some work on lazr.restful and making it
easier to use "out of the box". I looked at it for a little while a
few weeks ago for generating a bit of JSON, but the amount of
puzzling, documentation browsing, and setup required overwhelmed me,
and we decided to just generate the JSON by hand for now. If it were
within easy reach in the context of, say, Grok, it'd be easier to
just
start using it.
I've been working on and off with Gary and Leonard recently on using
lazr.restful for the admin REST interface to Mailman 3. I still
haven't quite gotten it working, mostly because of my own
inadequacies. ;)
I'd really love it if there were a super easy way to RESTify an
application via wsgiref. I'm looking at the amount of boilerplate
I've had to write and it's been painful. There should be something
like "3 easy steps to RESTify your application":
* mark up your interfaces
* add a small number of imports and just one or two subclasses
* start up a wsgiref server
That would be a killer feature of lazr.restful. Of course you'd
have to allow for more complicated wsgi environments though.