A First Look at Django

12 PM June 27, 2006

I just finished the four-part Django tutorial, and I’m impressed. Here are my initial thoughts:

  • Django’s full API + shortcut API philosophy shows all the signs of being put together by experienced programmers who eat their own dogfood.
  • Django’s model layer has much the same feel to as SQLObject. I wonder if there is some shared heritage there.
  • I can see why Jeff Croft, the non-programmer, likes Django. It imposes very few requirements on the structure and content of web pages, allowing web designers to build whatever they feel is appropriate.
  • The automagic admin pages feature is brilliant. No more having to choose between delivering without UIs for the reference tables, and spending half the project budget writing pages that are only going to be used twice a month.
  • The list of generic views is interesting. I can feel yet another version of my weblog coming on.

Some neat Django features I’ve yet to explore:

It’s impossible not to compare Django with what I know of Rails. So far, it would appear that Rails has two features Django does not:

  1. Django does not generate default page templates. It expects me to code all the HTML myself, from scratch. I suppose this is not a big deal as most applications would neat custom HTML anyway, but it would be nice to have a simple base to work from.
  2. Django has no integrated AJAX. Writing an AJAX enabled Django app wouldn’t be overly difficult, but it would be nice to have a bit more support built-in.
By alang | # | Comments (5)
(Posted to Python and javablogs)
© 2003-2006 Alan Green