O'Reilly logo

Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites by Gigi Sayfan, Kevin Dangoor, Mark Ramm

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6.3. Exploring the WhatWhat Status Model

Now that you have a picture of how WhatWhat Status works, let’s take a look at the code. The authors of WhatWhat Status have built a significantly more complicated database structure than our Bookmarker application, and although there should be plenty of familiar looking code, we also find quite a few new TurboGears features. In general, I find that if I start my code reviews by trying to understand the data model and working my way up through the controllers to the front end templates, I understand everything better. Here’s a picture of the WhatWhat Status data model:

Figure 6.4. WhatWhat Status data diagram

As you can see, there’s actually quite a bit going on in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required