Chapter 8. RSS, Cookies, and Dynamic Views in WhatWhat Status
In This Chapter |
The WhatWhat Status RecentChanges page provides real-world examples of several important new TurboGears features. The RecentChanges subcontrollers uses cookies and RSS feeds. So, we take a look at those, but most important, this is where we see the first appearance of user-defined widgets. If you remember, we said that widgets bundle up HTML, CSS, and JavaScript in a reusable way, and the authors of WhatWhat Status took advantage of this to reduce code duplication in the “recent changes†template.
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.