small medium large xlarge

Code in the Cloud: Programming Google AppEngine


Cover image for Code in the Cloud

Code in the Cloud

Programming Google AppEngine


Join the next wave of Web 2.0 software development in the cloud! Cloud applications are the next big shift in application development: instead of building single-user applications to run on a personal computer, new applications are being built as multi-user services that run in data centers around the world. One of the most exciting new environments for building services in the cloud is Google’s AppEngine. AppEngine is a powerful, easy-to-use framework for developing cloud-based services. This book will teach you what you need to make the shift to cloud development using AppEngine.

About this Title

Pages: 320
Published: 2011-04-19
Release: P1.0 (2011-04-15)
ISBN: 978-1-93435-663-0

Cloud services are an exciting opportunity for developers: the cloud is a platform for creating services, a new kind of application that can reach more users, and provide those users with more capabilities than a desktop application ever could. Building applications as cloud services also makes them scalable: cloud applications can easily and smoothly adapt from running on a single computer for a single user to running on thousands of computers for millions of users.

Code in the Cloud will teach you what a cloud service is, and how it differs from traditional applications. It shows you how to build a cloud service by taking advantage of the services that AppEngine makes available to you, and by using iterative development of a simple application to guide you through the different aspects of AppEngine development, using either Python or Java.

Through the process of working on a simple application, you’ll learn about how to build an application as a service; how to manage persistent data using AppEngine; how to build dynamic, interactive user interfaces that run in a user’s web-browser; how to manage security in a web application; and how to interact with other services running in the AppEngine cloud.

Contents & Extracts

Full Table of Contents


  • Getting Started with AppEngine
    • Getting Started
  • Programming AppEngine with Python
    • A First Real Cloud Application
    • Managing Data in the Cloud excerpt
    • Using AppEngine Services for Login Authentication
    • Organizing AppEngine Code: Separating UI and Logic
    • Making the UI Pretty: Templates and CSS
    • Getting Interactive
  • Programming AppEngine with Java
    • AppEngine and Java excerpt
    • Managing Server-Side Data in AppEngine
    • Building User Interfaces in Java
  • Advanced AppEngine
    • Advanced Datastore
    • AppEngine Services
    • Computing in the Cloud
    • Security in AppEngine Services
    • Wrapping Up


Mark Chu-Carroll is a software engineer at Google. He’s been working on programming languages and software development tools for close to 20 years. In his free time, he’s the administrator/developer of, where writes the blog Good Math/Bad Math. You can visit his blog at