Programming Google App Engine with Python: Build and Run Scalable Python Apps on Google's Infrastructure (Paperback)

Dan Sanderson



This practical guide shows intermediate and advanced web and mobile app developers how to build highly scalable Python applications in the cloud with Google App Engine. The flagship of Google's Cloud Platform, App Engine hosts your app on infrastructure that grows automatically with your traffic, minimizing up-front costs and accommodating unexpected visitors. You’ll learn hands-on how to perform common development tasks with App Engine services and development tools, including deployment and maintenance.

App Engine's Python support includes a fast Python 2.7 interpreter, the standard library, and a WSGI-based runtime environment. Choose from many popular web application frameworks, including Django and Flask.

  • Get a hands-on introduction to App Engine's tools and features, using an example application
  • Simulate App Engine on your development machine with tools from Google Cloud SDK
  • Structure your app into individually addressable modules, each with its own scaling configuration
  • Exploit the power of the scalable Cloud Datastore, using queries, transactions, and data modeling with the ndb library
  • Use Cloud SQL for standard relational databases with App Engine applications
  • Learn how to deploy, manage, and inspect your application on Google infrastructure


這本實用指南向中高階的網頁和行動應用程式開發者展示如何在Google App Engine上建立高度可擴展的Python應用程式。作為Google Cloud平台的旗艦,App Engine會將您的應用程式託管在能夠根據流量自動擴展的基礎設施上,從而降低前期成本並應對意外的訪客。您將親自學習如何使用App Engine服務和開發工具執行常見的開發任務,包括部署和維護。

App Engine的Python支援包括快速的Python 2.7解譯器、標準庫和基於WSGI的運行環境。您可以選擇許多流行的網頁應用程式框架,包括Django和Flask。

- 通過示例應用程式,親自體驗App Engine的工具和功能
- 使用Google Cloud SDK中的工具在開發機器上模擬App Engine
- 將您的應用程式結構化為可單獨訪問的模組,每個模組都有自己的擴展配置
- 利用可擴展的Cloud Datastore的優勢,使用查詢、事務和ndb庫進行數據建模
- 在App Engine應用程式中使用Cloud SQL進行標準關聯式數據庫
- 學習如何在Google基礎設施上部署、管理和檢查您的應用程式