
Design, develop, test, and deploy your Python web applications easily
Sylvain Hellegouarch
Yearly subscription | £150.00 | Monthly subscription | £14.99 |
Overview of CherryPy Essentials: Rapid Python Web Application Development
- Walks through building a complete Python web application using CherryPy 3
- The CherryPy HTTP:Python interface
- Use CherryPy with other Python libraries
- Design, security, testing, and deployment
[ Detailed Information ]
Language : EnglishPaperback : 272 pages [ 235mm x 191mm ]
Release Date : March 2007
ISBN : 1904811841
ISBN 13 : 978-1-904811-84-8
Author(s) : Sylvain Hellegouarch
Topics and Technologies : All Books, Content Management (CMS), Open Source
[ Book Links ]
[ In Detail ]
CherryPy is a Python library for web development that allows developers to build web applications in the same way as any other object-oriented Python program. Enriched by several years of active development, it has become one of the most established toolkits for building solid and high-performance web applications in Python. CherryPy abstracts the complex low-level HTTP protocol into an easy-to-use interface that respects Python idioms. The library aims at being simple to learn for a beginner while offering the most advanced features to fluent Python developers. For these reasons CherryPy was chosen to be at the heart of the popular and feature-rich TurboGears web framework. CherryPy-powered web applications are stand-alone Python applications with their own embedded multi-threaded web server, but can also run behind Apache or IIS for scalability.
This book covers the CherryPy library for Python web development from its history and installation through its main features and core concepts to its integration with Python and other products to construct, test, and deploy a sample photoblog application. The author Sylvain Hellegouarch is dedicated to the development of free software projects and has been coordinating and administrating the community efforts around the CherryPy project since 2004. The approach based on an example application introduces many other common Python libraries, providing transferable skills also relevant for non-web Python projects.
What you will learn from this book :
- The book will be about CherryPy 3
- CherryPy installation using the tarball, egg, and subversion
- The CherryPy library in depth: its design and how to use it
- Using CherryPy with common Python and non-Python products
- Object Relational Mapping with SQLObject, SQLAlchemy, and Dejavu
- Web Services via REST and the Atom Publishing Protocol
- AJAX and client-side scripting via MochiKit
- Unit, functional, and load testing
- CherryPy, Apache, and lighttpd deployment solutions
Approach
The book starts with two chapters dedicated to CherryPy, its history and installation. It then moves through a gentle introduction to the main features and concepts of CherryPy to a thorough review of its core capabilities. After laying this foundation the book dives into a real-world example, detailing important steps in the creation of a photoblog application. These chapters cover database manipulation via Object Relational Mapping (ORM), using web services to enhance the application, and client-side scripting through
Who this book is written for
This book is principally geared towards Python web developers, who are looking to add the power of the CherryPy library to their existing Python skillset. It assumes a good working knowledge of Python. Although the CherryPy toolkit is at the core of the book, many other common libraries are introduced

Design, develop, test, and deploy your Python web applications easily
Sylvain Hellegouarch
Overview of CherryPy Essentials: Rapid Python Web Application Development
- Walks through building a complete Python web application using CherryPy 3
- The CherryPy HTTP:Python interface
- Use CherryPy with other Python libraries
- Design, security, testing, and deployment
- eBook available as PDF, ePub and Mobi downloads and also on PacktLib


With the multi-format deal, you receive access to the book on PacktLib
for free.
PacktLib allows you to access and search across Packt's entire library of over 400 books, finding practical solutions to your searches at the click of a button.
[ Detailed Information ]
Language : EnglishPaperback : 272 pages [ 235mm x 191mm ]
Release Date : March 2007
ISBN : 1904811841
ISBN 13 : 978-1-904811-84-8
Author(s) : Sylvain Hellegouarch
Topics and Technologies : All Books, Content Management (CMS), Open Source
[ Book Links ]
[ In Detail ]
CherryPy is a Python library for web development that allows developers to build web applications in the same way as any other object-oriented Python program. Enriched by several years of active development, it has become one of the most established toolkits for building solid and high-performance web applications in Python. CherryPy abstracts the complex low-level HTTP protocol into an easy-to-use interface that respects Python idioms. The library aims at being simple to learn for a beginner while offering the most advanced features to fluent Python developers. For these reasons CherryPy was chosen to be at the heart of the popular and feature-rich TurboGears web framework. CherryPy-powered web applications are stand-alone Python applications with their own embedded multi-threaded web server, but can also run behind Apache or IIS for scalability.
This book covers the CherryPy library for Python web development from its history and installation through its main features and core concepts to its integration with Python and other products to construct, test, and deploy a sample photoblog application. The author Sylvain Hellegouarch is dedicated to the development of free software projects and has been coordinating and administrating the community efforts around the CherryPy project since 2004. The approach based on an example application introduces many other common Python libraries, providing transferable skills also relevant for non-web Python projects.
What you will learn from this book :
- The book will be about CherryPy 3
- CherryPy installation using the tarball, egg, and subversion
- The CherryPy library in depth: its design and how to use it
- Using CherryPy with common Python and non-Python products
- Object Relational Mapping with SQLObject, SQLAlchemy, and Dejavu
- Web Services via REST and the Atom Publishing Protocol
- AJAX and client-side scripting via MochiKit
- Unit, functional, and load testing
- CherryPy, Apache, and lighttpd deployment solutions
Approach
The book starts with two chapters dedicated to CherryPy, its history and installation. It then moves through a gentle introduction to the main features and concepts of CherryPy to a thorough review of its core capabilities. After laying this foundation the book dives into a real-world example, detailing important steps in the creation of a photoblog application. These chapters cover database manipulation via Object Relational Mapping (ORM), using web services to enhance the application, and client-side scripting through
Who this book is written for
This book is principally geared towards Python web developers, who are looking to add the power of the CherryPy library to their existing Python skillset. It assumes a good working knowledge of Python. Although the CherryPy toolkit is at the core of the book, many other common libraries are introduced