Django
This has nothing to do with anything to this blog is about, but it should be interesting to several people who read my infrequent postings. Roberto has converted a php site Django and has rave reviews. I am posting the entire emails, with his permission, for your edutainment.
I decided to convert the site to
Django, which is a python-based web framework. It’s awesome and will
take the site off the PHP-based framework I put together .. less to
maintain!I have also found that python is a much nicer language
than PHP.In any case, one of the last things I have to do is get the user
accounts out of the mysql database and imported into django’s
postgresql database. I hope to have this done this weekend; I’ll keep
you posted.
Here are a few things I really like about Django:
- The database API makes most of your queries disappear. For the site
I’m currently migrating I’ve written 0 SQL! But, Django is built so
that if you need some knarly query, you can fallback and write your
own without having to hack it in.- The django community is very healthy. I’ve joined their newsgroup
and most questions are answered within a few hours.- The automatic admin interface is so great; the best thing is that
you get it for free. They say it’s the bread N butter of Django, but
I think the DB API is the best thing for me.- The templating engine works like a charm.
- It has built-in caching
Of course, it’s not perfect. There are some bugs in it, but it’s not
even 1.0 yet, so they are acceptable. The benefits outweight the
drawbacks for me.
