Chapter 1.1.1. Making Easy Things Easy

TurboGears brings together a number of the best tools available in Python for writing maintainable, database-driven, Ajax-enabled web applications.

Every web application is composed mostly of code that does the following:

  • Gathers user requests and processes them appropriately (flow-control)

  • Organizes and stores all kinds of data in a database (object relational mapping)

  • Generates pages (hopefully nice looking pages) to present back to the user (presentation)

TurboGears brings together best-of-breed tools that make these three things “dropdead easy.”

CherryPy enables you to create new URLs simply by creating a class or function with the right name in the root controller class.

SQLObject enables you to ...

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.