Class Outline: Introduction to Web Application Development with TurboGears
* Introduction to Web Development -- From CGI to Object Publishing.
* Overview of HTTP, HTML, and the fundamentals of web programming
* Overview of Python Web Programming tools from Bobo to
TurboGears and Django
* Introduction to the Model-View-Controller pattern.
* Open Discussion of the weeknesses of the JSP/ASP/PHP model
* History of MVC from Smalltalk 80 to TurboGears
* Overview of the TurboGears Architecture
* A Request's Journey through the TurboGears Stack
* TurboGears Models: SQL, SQLObject, and Object Relational Mapping
* What is an ORM?
* How do I define tables with SQLObject
* How do I insert data into my tables?
* How do I query the database with SQLObject?
* TurboGears Controllers: CherryPy and URL Dispatching
* Object Publishing overview
* How CherryPy Dispatches requests to your Objects
* Positional Parameters and the "default" method
* TurboGears Templates: XHTML Templates, and the Kid templating engine
* Workshop -- Building a social bookmarking application.
In this section of the class we will break up into groups
and write code The objective is to build a simple application
together.
* Form Validation: Introduction to Form Encode validators
* Easy Forms with TurboGears Widgets:
* Discuss how to build a form widget that validates itself
* Discuss the way Form Widgets work
* Look under the covers at how Form Widgets display validation
error messages