The Big Picture

Diagram showing how TurboGears components interact

That's a lot of boxes and arrows! Actually, it's not as bad as it may seem. This diagram shows all of the parts that make up a TurboGears application. A great deal of it comes from TurboGears itself. Your application consists of the parts in the light purple boxes. Let's look at each part:

You have these three areas to populate with code in order to make your application. TurboGears provides help at each point.

CherryPy makes it easy for your controller to get information from the web and string together all of the pieces that comprise your website. SQLObject makes it easy to define and work with your model. Kid makes it easy to generate good HTML for the browser. MochiKit makes it easy to implement complex in-the-browser behavior and can even be used to format output in AJAX requests that skip over Kid.