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 ...
Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.