On Jun 29, 2012, at 5:08 AM, villas wrote: > 4. For example, I suggest the root router should go something like this: > > default_app = myapp > ## default_app will be applied whenever the app is not obviously identifiable > > apps_with_own_routers = [app1, app2] > ## app1, app2 must have their own routers, which may be 'lite' or > 'comprehensive'
One reason we don't split the functionality this way is that determining the application to route to is a (non-trivial) part of the routing function (consider for example routing to applications on the basis of domain, port, etc). And it's unusual (I think) to have multiple apps in the same installation that both need complex but radically different routing.