Python and Django
September 14, 2008 4 Comments
Three weeks ago I started working on a front-end for a project. A while back I had made a conscious decision to use Python for it because I did not know Python and wanted to learn it.
I did a quick whip-round of colleagues’ opinions on front-end frameworks and settled on Django, also influential was the Floss Weekly interview with Jacob Kaplan-Moss which gave me a good overview of the design philosophy behind Django.
Admittedly, I have only been using all this stuff for three weeks, but what struck me was that Django expects you to define a data model to be able to take full advantage of the framework. My situation is a little different, I have my own data model which is accessible via a REST web based API, so I am just using the views so far, which is fine. I wonder if one could replace the data model with a web API, after all both approaches expose data and structure. I expect that I will have an answer for that question as I dig further into Django.