screeley.com

Use Django to assemble instead of Drupal.

July23

First off a little comparison.

Tag lines

  • Drupal: "Drupal is a free software package that allows an individual or a community of users to easily publish, manage and organize a wide variety of content on a website."
  • Django: "Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design."

Clean and Rapid > Easy: Django +1

I'm a hater.

I'm tired of hearing about the benefits of Drupal. I mean, come on, it the end it's just a series of modules built in php, that are impossible to modify without a third degree black belt. I mean only yesterday did Jimmy Pells open a window in the office in order to throw his laptop out after trying to upgrade to Drupal 6.x. (That might be a lie, but it felt like it was going to happening). All I hear are horror stories about it's inflexibility and that there needs to be better solutions out there.

This is, of course, being written by someone with limited Drupal experience (I set it up once), so please take everything with a grain of salt. I'm also a borderline Django fan boy, so... yeah.

Why am I about to compare Drupal to Django? I mean they are two inherently different beasts. On one hand Drupal is a CMS, with framework tendencies where Django is a framework with CMS tendencies. The real benefit in Drupal is the drop in modules that allow you to quickly customize a site to your needs with very little build time. Well Django does that too. It's not as obvious, but it's there.

Modules:

Drupal: About 1,000 and counting. Drupal does a very good job at marketing it's modules, they right on their home site, and because of that it makes them easier to find and use.

Django:
About 200 on that site and if you search Google code you will find some more. The lack of a centralized location makes them a little harder to find, but generally when you do find them they meet your needs.

Django builds projects in apps, a series of functional blocks, i.e. blogs that are separated for reuse. Because of this, more and more Django users are starting to open source these apps for public use. Allowing for complex Django sites to be assembled, not built. Optards get excited.

For example lets look at a simple blogging application. Here is James Bennett's blog and here is the list of the 8 different modules he "assembled" in order to build the site. Well 8 sounds like a lot, but the blog application is just one part. The others do different tasks like comment_utils filters spam, django_tagging implements tagging and typogrify applies styling.

Another example and the reason for this post is Pinax. Pinax is an open source project that integrates 24+ external apps plus 8 internal apps to create a Facebook like application. Basically everything you need for a "Web 2.0" site in one pretty package.

I would recommend signing into the demo site, it doesn't require an email, to poke around. You will see blogs, messaging, friends, wikis, groups, et al. This post shows how one user used Pinax to create a community site in 40 hours. The author uses Pinax by installing it then removing the pieces he didn't need. The reverse could have been true as well, installing each module individually.

The result: http://trailmapping.com/.

The greatest benefit I feel is the rapid, clean development that happens with Django. Instead of trying to make Drupal do things it shouldn't be doing, we can install adds-ons or 'gasp' develop custom modules to give the client exactly what they need. I think you will find that the customers and developers will be much happier people.

Drupal is more established with a larger user base and a more proven technology. Django, however, is catching up.

Comments

Django is clearly a superior technology. I've used both Drupal and Django, and Django is head-and-shoulders above Drupal for three reasons: loosely coupled architecture that makes extending the framework easy, vibrant developer community with constant innovation (e.g. jtauber and pinax), and its written in Python - a superior language for OO and MVC design patterns.

Hi there! I would like to burn a theme at this forum. There is such a thing, called HYIP, or High Yield Investment Program. It reminds of ponzy-like structure, but in rare cases one may happen to meet a company that really pays up to 2% daily not on invested money, but from real profits.

For quite a long time, I earn money with the help of these programs. I don't have problems with money now, but there are heights that must be conquered . I get now up to 2G a day , and my first investment was 500 dollars only. Right now, I'm very close at catching at last a guaranteed variant to make a sharp rise . Visit my blog to get additional info.

[HTML_REMOVED]http://www.theblogmoney.com[HTML_REMOVED]

That was an inspiring post,

I think Drupal is great! how could you hate it so much,

Thanks for writing, most people don't bother.

I'm a developer out of San Francisco CA working at a startup.

This space will deal with the work I've participated in using the Django framework to build applications for enterprise clients.

Finally, you should follow me on twitter.

Ruminations

  • "GobgoplebeM <a href=http://posterous.com/people/4SDzppk18fMR>сиалис цены</a> undilyday"
    at 3:24a.m. Sept. 6, 2010 | permalink

  • "generic z-pak <a href=http://sefsa.org>buy azithromycin</a>"
    at 7:53p.m. Aug. 27, 2010 | permalink

  • "How do i come up with cash from online gambling? <img>http://shrtn.info/smile/ref.php</img>"
    at 2:50a.m. Aug. 25, 2010 | permalink

  • "http://needman.ru замуж за иностранца <a href=http://needman.ru>знакомства с иностранцами</a>"
    at 12:59p.m. May 18, 2010 | permalink

  • "Yebhewjw <a href="http://yebhewjw.de">yebhewjw</a> http://yebhewjw.de yebhewjw http://yebhewjw.de"
    at 11:41p.m. April 29, 2010 | permalink

  • "Thanks for this, unbelievable our developer has a robots no follow tag on our site, no wonder it wasn't being found by the search engines ..."
    at 7:40a.m. March 2, 2010 | permalink

  • "maybe you are right. but how often robots.txt is actually accessed? and how much overhead there is? I'm curious - quantitatively - how big of ..."
    at 7:13p.m. Dec. 12, 2009 | permalink

  • "Lovely idea! Thanks for sharing. I'm gonna have a closer look at the patch for Django 1.2. This could help switching template engines a lot. ..."
    at 9:14a.m. Nov. 2, 2009 | permalink

  • "That was an inspiring post, I think Drupal is great! how could you hate it so much, Thanks for writing, most people don't bother."
    at 11:14a.m. Oct. 28, 2009 | permalink

  • "@Evgeniy. Yes at: http://code.google.com/p/django-alfresco/"
    at 10:42a.m. Oct. 22, 2009 | permalink

  • "Is this released as an open source project?"
    at 1:21a.m. Oct. 22, 2009 | permalink

  • "Interesting, thanks for the examples that you have shared, these are great... Anyway, thanks for the post"
    at 7:55a.m. Oct. 16, 2009 | permalink