‘Why I hate Django’

I don’t incidentally. In fact, you can ignore the fact that this is about Django. It’s a great discussion on web development frameworks and scaling (including lots of useful 101 level stuff on database clustering/replication). Plus some commentary on ’significant whitespace’ - something I do hate.

It’s also just plain entertaining. It’s long, but it’s worth it.

2 Comments

  1. Posted October 7, 2008 at 3:40 pm | Permalink

    I’d quite like someone, perhaps John or Marc, to tell us how Symfony stacks up in all these stakes…

  2. Posted October 8, 2008 at 12:55 pm | Permalink

    Basically he’s wanting/suggesting that frameworks should be able to scale out of the box.

    Provide sharding, hashing users to the same R/W master, db pooling etc etc. All the stuff you generally have to write for yourself when a site needs to scale.

    Symfony is the same as any other framework, if you can’t do it you have to write it yourself.

    I liked his graph comparing writing yourself and writing with a framework where the time plummets when you hit against something the framework “can’t do”.

    When you are developing you need to make sure that you don’t do this, because if the framework can’t do it…not really a problem as the frame work is written in your language of choice it means you can just code your solution to fit into your framework.

    Sometimes this means you could just write a plugin, for example what we did for Symfony to use XSLT as our templating language.

    Also some of the issues that can slow things down is confusing the “M” in MVC to be the objects provided by the ORM.

    You should model the “M”s you need…if they happen to fit exactly the “M”s provided by the ORM…great job done…but sometimes in complex applications that are not just CRUD they don’t. If your in this mindset before you code with your framework of choice you won’t hit against the dip as much.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*