Programming Google App Engine with Python /
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 traffi...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly,
2015.
|
Edición: | First edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Copyright; Table of Contents; Preface; A Brief History of App Engine; Using This Book; Conventions Used in This Book; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Introducing Google App Engine; The Runtime Environment; The Static File Servers; Frontend Caches; Cloud Datastore; Entities and Properties; Queries and Indexes; Transactions; The Services; Google Accounts, OpenID, and OAuth; Google Cloud Endpoints; Task Queues and Cron Jobs; Namespaces; Developer Tools; The Cloud Console; Getting Started; Chapter 2. Creating an Application; Setting Up the Cloud SDK.
- Installing PythonInstalling the Cloud SDK; Authenticating with the Cloud SDK; Installing the App Engine SDK; Developing the Application; The User Preferences Pattern; A Simple App; Introducing the webapp Framework; Templates, Users, and Google Accounts; Using Python Virtual Environments; Datastore Models and Web Forms; The Development Server Console; Caching with Memcache; The Python Interactive Console; Registering the Application; Uploading the Application; Testing the App; Enabling Billing; Chapter 3. Configuring an Application; The App Engine Architecture; Configuring a Python App.
- Runtime VersionsApp IDs and Versions; Multithreading; Request Handlers; Static Files and Resource Files; MIME Types; Cache Expiration; 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; Chapter 4. Request Handlers and Instances; The Runtime Environment; The Sandbox; Quotas and Limits; The Python Runtime Environment; The Request Handler Abstraction; Introducing Instances.
- Request Scheduling and Pending LatencyWarmup Requests; Resident Instances; Instance Classes and Utilization; Instance Hours and Billing; The Instances Console Panel; Traffic Splitting; Chapter 5. Using Modules; An Example Layout; Configuring Modules; Manual and Basic Scaling; Manual Scaling and Versions; Startup Requests; Shutdown Hooks; Background Threads; Modules and the Development Server; Deploying Modules; Addressing Modules with URLs; Calling Modules from Other Modules; Module URLs and Secure Connections; Module URLs and Custom Domains; Dispatching Requests to Modules.
- Starting and Stopping ModulesManaging and Deleting Modules and Versions; The Modules API; An Always-On Example; Chapter 6. Datastore Entities; Entities, Keys, and Properties; Introducing the Python Datastore API; Property Values; Strings, Text, and Bytes; Unset Versus the Null Value; Multivalued Properties; Keys and Key Objects; Using Entities; Getting Entities Using Keys; Inspecting Entity Objects; Saving Entities; Deleting Entities; Allocating System IDs; The Development Server and the Datastore; Chapter 7. Datastore Queries; Queries and Kinds; Query Results and Keys; The Query API.