Despite the performance issues that Launchpad's REST approach has brought us, in my mind REST+JSON is still the best baseline communications approach for web services, and for the back-end of JS browser applications. We can learn from Launchpad's experience and make sure that REST operations are geared first to address collections, and second for individual records.
With that as background, I was enamored of the ideas I saw behind the now-relatively-old Erlang Webmachine (http://wiki.basho.com/Webmachine.html ; I think the state machine at http://wiki.basho.com/images/http-headers-status-v3.png is cool). Cornice, from Mozilla, based on Pyramid, is new, and looks like the closest Python equivalent I've seen so far. I want to give it a closer look later, and so I'm sending this out both as public service and self-reminder. :-) http://packages.python.org/cornice/ (Clojure has a webmachine-alike too, https://github.com/banjiewen/Clothesline#readme :-) There is also a Python version based on Django but a lightweight framework like Pyramid seems like a better starting point for a webservice framework to me: http://pypi.python.org/pypi/dj-webmachine). Gary _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp