Book description
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
Publisher resources
Table of contents
- Preface
- 1. Introducing Google App Engine
- 2. Creating an Application
-
3. Configuring an Application
- The App Engine Architecture
- Configuring a Python App
- App IDs and Versions
- Multithreading
- Request Handlers
- Static Files and Resource Files
- Domain Names
- Google Apps
- Configuring Secure Connections
- Secure Connections with Custom Domains
- Authorization with Google Accounts
- Environment Variables
- Inbound Services
- Custom Error Responses
- Python Libraries
- Built-in Handlers
- Includes
- 4. Request Handlers and Instances
-
5. Using Modules
- An Example Layout
- Configuring Modules
- Manual and Basic Scaling
- Startup Requests
- Shutdown Hooks
- Background Threads
- Modules and the Development Server
- Deploying Modules
- Addressing Modules with URLs
- Dispatching Requests to Modules
- Starting and Stopping Modules
- Managing and Deleting Modules and Versions
- The Modules API
- An Always-On Example
- 6. Datastore Entities
-
7. Datastore Queries
- Queries and Kinds
- Query Results and Keys
- The Query API
- Introducing Indexes
- Automatic Indexes and Simple Queries
- Custom Indexes and Complex Queries
- Not-Equal and IN Filters
- Unset and Nonindexed Properties
- Sort Orders and Value Types
- Queries and Multivalued Properties
- Query Cursors
- Projection Queries
- Configuring Indexes
- 8. Datastore Transactions
- 9. Data Modeling with ndb
- 10. Datastore Administration
- 11. Using Google Cloud SQL with App Engine
- 12. The Memory Cache
- 13. Fetching URLs and Web Resources
- 14. Sending and Receiving Email Messages
- 15. Sending and Receiving Instant Messages with XMPP
- 16. Task Queues and Scheduled Tasks
- 17. Optimizing Service Calls
- 18. The Django Web Application Framework
- 19. Managing Request Logs
- 20. Deploying and Managing Applications
- Index
Product information
- Title: Programming Google App Engine with Python
- Author(s):
- Release date: June 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491903674
You might also like
book
Python for Google App Engine
Master the full range of development features provided by Google App Engine to build and run …
book
Programming Google App Engine with Java
This practical guide shows intermediate and advanced web and mobile app developers how to build highly …
book
Mastering Google App Engine
Build robust and highly scalable web applications with Google App Engine About This Book Get an …
book
Using Google App Engine
Build exciting, scalable web applications quickly and confidentlyusing Google App Engine and this book, even if …