Skip to main content

Professional Python Frameworks: Web 2.0 Programming with Django and Turbogears

Professional Python Frameworks: Web 2.0 Programming with Django and Turbogears

Dana Moore, Raymond Budd, William Wright

ISBN: 978-0-470-24534-7

Jan 2008

420 pages

Select type: E-Book

$25.99

Product not available for purchase

Description

As two of the leading MVC web frameworks for Python, Django and TurboGears allow you to develop and launch sites in a fraction of the time compared to traditional techniques and they provide greater stability, scalability, and management than alternatives. Packed with examples, this book will help you discover a new methodology for designing, coding, testing, and deploying rich web applications.

A team of expert authors shows you the power of MVC frameworks and the capabilities of the TurboGears and Django packages. The Django chapters show you how to automate production of common web development tasks, portal creation, and content management, so you can focus on higher-level application issues and design. The TurboGears chapters illustrate how to rapidly create modern, highly interactive Web 2.0 applications. For both frameworks, you'll create useful applications that exemplify common Web 2.0 design paradigms and their solutions. Ultimately, you'll leverage your Python skills using Django and TurboGears and go from novice to RIA expert.

What you will learn from this book

* How you can use frameworks to save you time and frustration in the development cycle
*

The elements, differences, and similarities of the TurboGears and Django frameworks
*

Advanced capabilities of both frameworks and how they easily solve issues common to web applications
*

Approaches to simplifying your client side JavaScript(r) with MochiKit, a Pythonic JavaScript library
*

How to pair TurboGears with Flash for even more possibilities

Who this book is for

This book is for Python developers who want to learn rapid Web 2.0 development techniques using frameworks and incorporating a model-view-controller architecture.

Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Acknowledgments.

Introduction.

Part I: Introduction to Python Frameworks.

Chapter 1: Web 2.0, Python, and Frameworks.

Chapter 2: Web 2.0 with Traditional Python.

Chapter 3: Introducing the Frameworks.

Part II: TurboGears.

Chapter 4: Introduction to TurboGears.

Chapter 5: User Identity and Visitor Tracking.

Chapter 6: Widgets.

Chapter 7: Advanced TurboGears Topics.

Part III: Django.

Chapter 8: Dblog: A Blog Implemented in Django.

Chapter 9: Django Views and Users.

Chapter 10: Advanced Django Topics: AJAX, RSS, and More.

Part IV: Advanced Client-Side Topics.

Chapter 11: MochiKit — Pythonic JavaScripting.

Chapter 12: Flash-Based Interfaces and TurboGears.

Appendix A: Tools Used.

Index.

Code Downloads
All sample code from book
Code Downloads
Download
All sample code from book
Download
ChapterPageDetailsDatePrint Run
41Listing 2-12 corrections
Listing 2-12:

Line 49: substitute "petowners" for "ex1"

Lines 58 through 62: substitute "savePetOwner" for "save" and substitute "loadPetOwner" for "load"
01/27/2008