Django!

April 30th, 2007

pici which is an image hosting site I own is written in php, even though this is a language that I despise, hate and dislike. I figured I should do something about this and started reimplementing everything in mod_python which turned out quite ok, but when I was pretty much finished (except for some php-scripts that I left the way they were) I realized that even though my code was a LOT better than my messy php code, it wasn’t really optimal so I started researching web frameworks.

Not doing this before rewriting the entire page in mod_python was of course not very smart… was it? :)

Anyways, I started having a look at django and it’s really really nice. Been messing around a bit with it now for a few nights and I really can’t see any reason to switch to anything else now. I’m maybe 50% done with reimplementing pici in django and I just keep on getting amazed on how much prettier the code turns out when using the MVC-approach. Finally I have a nice clean separation between my templates and my backbone code, and I can let django deal with all the low level management (users, database-connections and so on).

This might actually lead to me doing a lot more on pici since I won’t have to feel physically ill due to being forced to develop using php any more :)

buffi Programming & scripting, Python, Uninteresting

  1. August 3rd, 2007 at 09:51 | #1

    test

  2. Bjorn Kempen
    August 3rd, 2007 at 09:52 | #2

    This comment is for testing purposes. Hopefully it will work.

  3. Bjorn
    August 3rd, 2007 at 10:23 | #3

    This is a test comment. It might work

  1. No trackbacks yet.