9–11 Jul 2007
Vilnius, Lithuania
Europe/Zurich timezone

Building a next-generation TurboGears web application

Not scheduled
1h
Vilnius, Lithuania

Vilnius, Lithuania

Speaker

Mr Christopher Arndt (pyCologne, the Python User Group Köln)

Description

Here follows the outline of the topics covered in the talk: Introduction (5min): - What is TurboGears? - What can it be used for? Who uses it? - Which components make up the TurboGears framework? - What is the future of TurboGears development? The web-application development process with TurboGears: 10 steps to your TurboGears application 1) Quickstart your project 2) Code your data model (using TDD) 3) Create the database 4) Add some bootstrap data 5) Design your URLs 6) Write your controller methods (using TDD) 7) Write your templates 8) Add some CSS and/or JavaScript 9) Build an egg 10) Deploy! Example: PEC - the Python Event Calendar Exemplary development steps: - Implementing the data model with SQLAlchemy - Creating a view if the event list with Genshi - Implementing a calendar control with ToscaWidgets Tools for development with TurboGears: - test-driven development with nose - application distribution with setuptools - deployment with supervisord Conclusion Questions? (5-10 min)

Summary

The proposed talk gives an overview of how to get started quickly with the TurboGears web framework and the components that will be standard in future TurboGears versions. It is targeted at people with some experience in web development but not necessarily with TurboGears.

After a very short introduction on TurboGears in general, a streamlined process for building a small web application is laid out quickly and then exemplary steps are demonstrated using a real-life example application, a web-based event calendar for Python-related events. The example builds on the latest and greatest components of the TurboGears framework including SQLAlchemy, Genshi and ToscaWidget, which are already being used in other Python web frameworks as well.

Primary author

Mr Christopher Arndt (pyCologne, the Python User Group Köln)

Presentation materials

There are no materials yet.