Rest as a boring servlet

A coworker whipped up a generic REST interface for any Ruby on Rails activerecord (data model). What he described (in 5 minutes) was a nice implementation. I wanted see how the generic django REST interface was coded. http://code.google.com/p/django-rest-interface/ I was pleasantly surprised to realize that they Python developers simply used the normal form processing to handle rest and didn’t invent a new paradigm. On an early project we tried to implement RESTlet for a java based REST application. Under load we saw some strange problems and the code was reverted to normal servlets without too much pain. ...

April 22, 2008 · 1 min · Aaron Held

csv to xml via python

Today at work our main Flash developer asked me about expanding his skills and learning either Ruby or Python. My personal preference is towards python but ruby has its place. Flash is really doing well in the Java/Enterprise space lately so I went that way. Most of the Flash backend in our work is xml based so XML was on my mind anyway. Recently we needed to mock up a xml data data file for a project while the real APIs are being completed. We had the data in a csv file so we asked some developers to whip up a xml file. ...

April 15, 2008 · 2 min · Aaron Held