Posted by cadsmith on December 1, 2007
Reviewing Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites by Ramm and others, 2006, 504 pp. This TurboGears 1.0 tutorial covers the key components of the open-source package along with hints, resources and instructions for installation and application development. The tool is a model-view-controller (MVC) framework for procedural interfaces between users and databases. It combines python, AJAX, JSON and SQL into library components that can be more easily maintained and reused. CherryPy and MochiKit provide event control, Kid is for XHTML view templating, and SQLObject does database modelling. It also has libraries for scheduling, configuration, logging and pagination. The TurboGears Toolbox manages code components using applications such as a browser, graphical database designer, debugger, and internationalization converter. It is compatible with Windows, Linux, Mac OS X. Coding demonstrations include a simple bookmarking site and more complex project management utility which sets cookies and outpus RSS and Atom feeds. An appendix describes how SQLAlchemy implements SQL for legacy and high-performance databases.
Book site links to other sources.
Refers to nose unit test package.