Incorporating sub applications into one global app

142 views
Skip to first unread message

Kuze

unread,
Sep 27, 2009, 8:28:04 PM9/27/09
to Tornado Web Server
Reviewing examples provided in git source code and current
documentation, it's suggested all Handlers should be crammed in one
file with a global definition for the entire applications URI routing
space. However, in real world applications it's quite common to
have... say varying levels of separation.

For example, perhaps there is a blog, wiki, channels and gallery
application each defining its own set of handlers and URI routing
data, which ultimately builds up the full scope of a project/app.

I'm thinking this might be a common question that pops up and if it
isn't documented, perhaps it should, unless I've missed it somewhere.
So I ask, what is the Tornado way to doing this?

For further reference see the following which is similar to the
example I've outlined above:
http://webpy.org/multiple_apps


Thanks

Kuze

unread,
Oct 14, 2009, 6:13:07 PM10/14/09
to Tornado Web Server
Reply all
Reply to author
Forward
0 new messages