> they're different objects. Very simple. If you need to build a sitemap > or menu or breadcrumbs, you can travel the objects tree and build it. > You can attach a new page (section) with arbitrary functionality to > any node of the site tree with no effort. > > On the other hand, Django uses ORM and this means that each site > section must be separate application with corresponding database and > URL mappings. It seems to me that building large site with different > kinds of sections would be harder in Django. There would be code > duplication and too much manual work to maintain url mappings and > hardcoded hierarchy.
I'm not sure these suppositions hold. Django has a nice two-tiered model where you can have a single project with multiple apps within it. A project has one DB, one URL mapping file (or more, as it can actually de-complexify matters to relegate subsections of your site to a separate file, but you don't have to). The decoupling of URLs from Models allows a lot *more* flexibility in site-redesign compared to a "hard-coded" (by object-tree) URL layout. Yes, there are some easy/lazy ways to do this sort of thing where you have a little ugliness exposed via the object ID in the url (e.g. http://example.com/blog/42/) but it's not that much harder to tweak a URL file to make that example into "http://example.com/blog/i-love-django/". One can also walk the ORM object tree in Django...fairly similarly to how the admin interface or the databrowse extension sniffs your metadata and builds up a default interface for your models. I find that Django strikes a good balance between offering sufficient functionality/abstraction/etc to yield to my will when I need it to do something, but not have the baggage of complexity that Zope brings to the table. Just my $0.02 "it works for me". -tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---