DescriptionAs 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
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.
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 12: Flash-Based Interfaces and TurboGears.
Appendix A: Tools Used.
|41||Listing 2-12 corrections|
Line 49: substitute "petowners" for "ex1"
Lines 58 through 62: substitute "savePetOwner" for "save" and substitute "loadPetOwner" for "load"