I am announcing the Ugly Baby Project. It’s a simple thing I’ve decided to do to sort of compare and contrast Ruby on Rails, Django, and Ruby/Merb, and maybe ASP.NET MVC. I’m not sure about ASP.NET MVC. (I’m already familiar with Monorail, and I really don’t know how much more it brings to the table.)
I’m going to implement the same exact small website with the same functionality in all 3 (or 4) platforms.
I decided to pop open a copy of Live Writer and chronicle my first Django first impressions. It’s going to be a bit stream of consciousness. I’m working off this tutorial from Instant Django.
The model creation seems relatively straightforward so far. I haven’t done anything even remotely complicated yet.
I like how the URL routing is so explicit. It does require me to know regular expressions though, which are one of those things I can’t remember for more than 30 seconds at a time. You just map a regular expression of the request to the view that handles it. It’s kind of exactly what I ranted about wanting in a previous post.
Neato. I just got my first “hello world” kind of thing going, but it goes to a database through the ORM and has a model and everything. Took about 40 minutes from first download of instant-django.
So far, I’m pleased. The more I think about how the routing works, the more I like it. I’m excited about continuin with this. I’ll keep posting, and include some code snippets once I get something useful going.