Frameworks

Emmanuel Surleau emmanuel.surleau at gmail.com
Wed Oct 21 22:21:05 CEST 2009


> Emmanuel Surleau a écrit :
> >> Emmanuel Surleau a écrit :
> >>>> Django : very strong integration, excellent documentation and support,
> >>>> huge community, really easy to get started with. And possibly a bit
> >>>> more mature and stable...
> >>>
> >>> One strong point in favour of Django: it follows Python's philosophy of
> >>> "batteries included", and features a large array of plugins. There are
> >>> also numerous other add-ons created by the community.
> >>>
> >>> Also, it has a pretty great administration interface.
> >>>
> >>> It still manages to retain flexibility, but you're basically stuck with
> >>> Django's ORM
> >>
> >> You're by no way "stuck" with Django's ORM - you are perfectly free not
> >> to use it. But then you'll obviously loose quite a lot of useful
> >> features and 3rd part apps...
> >
> > You lose most of what makes it worth using Django,
> 
> Mmmm... I beg to disagree. You still have the core framework (request /
> response handling, sessions etc), the templating system, the form API
> etc. As far as I'm concerned, it's quite enough to "make it worth".

The form API is pretty good, but I don't think the rest makes it stand out 
that much, compared to other frameworks. To me, the notion of reusable apps 
and the application ecosystem it allows is Django's most compelling feature. 
You are, of course, welcome to disagree.

> > Having to implement a mini-parser for
> > each single tag
> 
> Most of the "mini-parser" stuff is so very easily factored out I'm
> afraid I won't buy your argument.

You'll at least agree that in terms of line of codes necessary to implement a 
custom tag, it's very far from optimal, I hope?

Cheers,

Emm



More information about the Python-list mailing list