CherryPy Essentials: Rapid Python Web Application Development

CherryPy Essentials: Rapid Python Web Application Development

Book Description

is a library for that allows developers to build applications in the same way as any other object-oriented program. Enriched by several years of active , it has become one of the most established toolkits for building solid and high-performance applications in Python. 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 was chosen to be at the heart of the popular and feature-rich TurboGears framework. CherryPy-powered applications are stand-alone Python applications with their own embedded multi-threaded server, but can also run behind Apache or IIS for scalability.

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
  • 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 AJAX. Finally, the book covers the need for unit, functional, and performance testing before closing with deployment solutions for a CherryPy-based application.

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

Book Details

  • Paperback: 272 pages
  • Publisher: Packt Publishing (March, 2007)
  • Language: English
  • ISBN-10: 1904811841
  • ISBN-13: 978-1904811848
  • File Size: 4.0 MiB
  • File Format: PDF | EPUB | PDF + EPUB

E-Book

CherryPy Essentials: Rapid Python Web Application DevelopmentPacktpub.CherryPy.Essentials.Rapid.Python.Web.Application.Development.Mar.2007.rar
CherryPy Essentials: Rapid Python Web Application Development[Free] - Packtpub.CherryPy.Essentials.Rapid.Python.Web.Application.Development.Mar.2007.rar

Paper Book

CherryPy Essentials: Rapid Python Web Application Development
Tags:   · · ·