简介
Google App Engine 编程(Programming Google App Engine)简介:
As one of today's cloud computing services, Google App Engine does more than provide access to a large system of servers. It also offers you a simple model for building applications that scale automatically to accommodate millions of users. With Programming Google App Engine, you'll get expert practical guidance that will help you make the best use of this powerful platform. Google engineer Dan Sanderson shows you how to design your applications for scalability, including ways to perform common development tasks using App Engine's APIs and scalable services.
You'll learn about App Engine's application server architecture, runtime environments, and scalable datastore for distributing data, as well as techniques for optimizing your application. App Engine offers nearly unlimited computing power, and this book provides clear and concise instructions for getting the most from it right from the source.
Discover the differences between traditional web development and development with App Engine
Learn the details of App Engine's Python and Java runtime environments
Understand how App Engine handles web requests and executes application code
Learn how to use App Engine's scalable datastore, including queries and indexes, transactions, and data modeling
Use task queues to parallelize and distribute work across the infrastructure
Deploy and manage applications with ease
目录
Preface
1. Introducing GoogleApp Engine
The Runtime Environment
The Static File Servers
The Datastore
Entities and Properties
Queries and Indexes
Transactions
The Services
Google Accounts
Task Queues and Cron Jobs
Developer Tools
The Administration Console
Things App Engine Doesn't Do...Yet
Getting Started
2. Creating an Application
Setting Up the SDK
Installing the Python SDK
Installing the Java SDK
Developing the Application
The User Preferences Pattern
Developing a Python App
Developing a Java App
The Development Console
Registering the Application
The Application ID and Title
Setting Up a Domain Name
Google Apps and Authentication
Uploading the Application
Introducing the Administration Console
3. Handling Web Requests
The App Engine Architecture
Configuring the Frontend
Configuring a Python App
Configuring a Java App
Domain Names,
App IDs and Versions
Request Handlers
Static Files and Resource Files
Secure Connections
Authorization with Google Accounts
How the App Is Run
The Python Runtime Environment
The Java Runtime Environment
The Sandbox
App Caching
Logging
Quotas and Limits
Request Limits
CPU Limits
Service Limits
Deployment Limits
Billable Quotas
Resource Usage Headers
4. Datastore Entities
Entities, Keys, and Properties
Introducing the Python Datastore API
Introducing the Java Datastore API
Property Values
Strings, Text, and Blobs
Unset Versus the Null Value
Multivalued Properties
Keys and Key Objects
Using Entities
Getting Entities Using Keys
Inspecting Entity Objects
Saving Entities
Deleting Entities
5. Datastore Queries
Queries and Kinds
Query Results and Keys
GQL
The Python Query API
The Query Class
GQL in Python
Retrieving Results
Keys-Only Queries
The Java Query API
Keys-Only Queries in Java
Introducing Indexes
Automatic Indexes and Simple Queries
All Entities of a Kind
One Equality Filter
Greater-Than and Less-Than Filters
One Sort. Order
Queries on Keys
Kindless Queries
Custom Indexes and Complex Queries
Multiple Sort Orders
Filters on Multiple Properties
Multiple Equality Filters
Not-Equal and IN Filters
Unset and Nonindexed Properties
Sort Orders and Value Types
Queries and Multivalued Properties
A Simple Example
MVPs in Python
MVPs and Equality Filters
MVPs and Inequality Filters
MVPs and Sort Orders
Exploding Indexes
Configuring Indexes
Index Configuration for Python
Index Configuration for Java
6. Datastore Transactions
Entities and Entity Groups
Keys, Paths, and Ancestors
Ancestor Queries
What Can Happen in a Transaction
Transactional Reads
Transactions in Python
Transactions in Java
How Entities Are Updated
How Entities Are Read
Batch Updates
How Indexes Are Updated
7. Data Modeling with Python
Models and Properties
Property Declarations
Property Value Types
Property Validation
Nonindexed Properties
Automatic Values
List Properties
Models and Schema Migration
Modeling Relationships
One-to-Many Relationships
One-to-One Relationships
Many-to-Many Relationships
Model Inheritance
Queries and PolyModels
Creating Your Own Property Classes
Validating Property Values
Marshaling Value Types
Customizing Default Values
Accepting Arguments
8. The Java Persistence API
Setting Up JPA
Entities and Keys
Entity Properties
Embedded Objects
Saving, Fetching, and Deleting Objects
Transactions in JPA
Queries and JPQL
Relationships
For More Information
9. The Memory Cache
The Python Memcache API
Setting and Getting Values in Python
Setting and Getting Multiple Values
Memcache Namespaces
Cache Expiration
Deleting Keys
Memcache Counters
Cache Statistics
The Java Memcache API
10. Fetching URLs and Web Resources
Fetching URLs in Python
Fetching URLs in Java
Asynchronous Requests in Python
RPC Objects
Processing Results with Callbacks
11. Sending and Receiving Mail and Instant Messages
Enabling Inbound Services
Sending Email Messages
Sender Addresses
Recipients
Attachments
Sending Email in Python
Sending Email in Java
Receiving Email Messages
Receiving Email in Python
Receiving Email in Java
Sending XMPP Messages
Sending a Chat Invitation
Sending a Chat Message
Checking a Google Talk User's Status
Receiving XMPP Messages
Receiving XMPP Messages in Python
Receiving XMPP Messages in Java
12. Bulk Data Operations and Remote Access
Setting Up the Remote API for Python
Setting Up the Remote API for Java
Using the Bulk Loader Tool
Installing SQLite
Backup and Restore
Uploading Data
Downloading Data
Controlling the Bulk Loader
Using the Remote Shell Tool
Using the Remote API from a Script
13. Task Queues and Scheduled Tasks
Task Queues
Processing Rates and Token Buckets
Elements of a Task
Task Handlers and Retries
Testing and Managing Tasks
Using Task Queues in Python
Using Task Queues in Java
Transactional Task Enqueueing
Scheduled Tasks
14. The Django Web Application Framework
Installing Django
Creating a Django Project
The Request Handler Script
The Django App Engine Helper
Creating a Django Application
Using App Engine Models With Django
Using Django Unit Tests and Fixtures
Using Django Forms
15. Deploying and Managing Applications
Uploading an Application
Using Versions
Managing Service Configuration
Managing Indexes
Browsing and Downloading Logs
Inspecting the Datastore
Application Settings
Managing Developers
Quotas and Billing
Getting Help
Index
1. Introducing GoogleApp Engine
The Runtime Environment
The Static File Servers
The Datastore
Entities and Properties
Queries and Indexes
Transactions
The Services
Google Accounts
Task Queues and Cron Jobs
Developer Tools
The Administration Console
Things App Engine Doesn't Do...Yet
Getting Started
2. Creating an Application
Setting Up the SDK
Installing the Python SDK
Installing the Java SDK
Developing the Application
The User Preferences Pattern
Developing a Python App
Developing a Java App
The Development Console
Registering the Application
The Application ID and Title
Setting Up a Domain Name
Google Apps and Authentication
Uploading the Application
Introducing the Administration Console
3. Handling Web Requests
The App Engine Architecture
Configuring the Frontend
Configuring a Python App
Configuring a Java App
Domain Names,
App IDs and Versions
Request Handlers
Static Files and Resource Files
Secure Connections
Authorization with Google Accounts
How the App Is Run
The Python Runtime Environment
The Java Runtime Environment
The Sandbox
App Caching
Logging
Quotas and Limits
Request Limits
CPU Limits
Service Limits
Deployment Limits
Billable Quotas
Resource Usage Headers
4. Datastore Entities
Entities, Keys, and Properties
Introducing the Python Datastore API
Introducing the Java Datastore API
Property Values
Strings, Text, and Blobs
Unset Versus the Null Value
Multivalued Properties
Keys and Key Objects
Using Entities
Getting Entities Using Keys
Inspecting Entity Objects
Saving Entities
Deleting Entities
5. Datastore Queries
Queries and Kinds
Query Results and Keys
GQL
The Python Query API
The Query Class
GQL in Python
Retrieving Results
Keys-Only Queries
The Java Query API
Keys-Only Queries in Java
Introducing Indexes
Automatic Indexes and Simple Queries
All Entities of a Kind
One Equality Filter
Greater-Than and Less-Than Filters
One Sort. Order
Queries on Keys
Kindless Queries
Custom Indexes and Complex Queries
Multiple Sort Orders
Filters on Multiple Properties
Multiple Equality Filters
Not-Equal and IN Filters
Unset and Nonindexed Properties
Sort Orders and Value Types
Queries and Multivalued Properties
A Simple Example
MVPs in Python
MVPs and Equality Filters
MVPs and Inequality Filters
MVPs and Sort Orders
Exploding Indexes
Configuring Indexes
Index Configuration for Python
Index Configuration for Java
6. Datastore Transactions
Entities and Entity Groups
Keys, Paths, and Ancestors
Ancestor Queries
What Can Happen in a Transaction
Transactional Reads
Transactions in Python
Transactions in Java
How Entities Are Updated
How Entities Are Read
Batch Updates
How Indexes Are Updated
7. Data Modeling with Python
Models and Properties
Property Declarations
Property Value Types
Property Validation
Nonindexed Properties
Automatic Values
List Properties
Models and Schema Migration
Modeling Relationships
One-to-Many Relationships
One-to-One Relationships
Many-to-Many Relationships
Model Inheritance
Queries and PolyModels
Creating Your Own Property Classes
Validating Property Values
Marshaling Value Types
Customizing Default Values
Accepting Arguments
8. The Java Persistence API
Setting Up JPA
Entities and Keys
Entity Properties
Embedded Objects
Saving, Fetching, and Deleting Objects
Transactions in JPA
Queries and JPQL
Relationships
For More Information
9. The Memory Cache
The Python Memcache API
Setting and Getting Values in Python
Setting and Getting Multiple Values
Memcache Namespaces
Cache Expiration
Deleting Keys
Memcache Counters
Cache Statistics
The Java Memcache API
10. Fetching URLs and Web Resources
Fetching URLs in Python
Fetching URLs in Java
Asynchronous Requests in Python
RPC Objects
Processing Results with Callbacks
11. Sending and Receiving Mail and Instant Messages
Enabling Inbound Services
Sending Email Messages
Sender Addresses
Recipients
Attachments
Sending Email in Python
Sending Email in Java
Receiving Email Messages
Receiving Email in Python
Receiving Email in Java
Sending XMPP Messages
Sending a Chat Invitation
Sending a Chat Message
Checking a Google Talk User's Status
Receiving XMPP Messages
Receiving XMPP Messages in Python
Receiving XMPP Messages in Java
12. Bulk Data Operations and Remote Access
Setting Up the Remote API for Python
Setting Up the Remote API for Java
Using the Bulk Loader Tool
Installing SQLite
Backup and Restore
Uploading Data
Downloading Data
Controlling the Bulk Loader
Using the Remote Shell Tool
Using the Remote API from a Script
13. Task Queues and Scheduled Tasks
Task Queues
Processing Rates and Token Buckets
Elements of a Task
Task Handlers and Retries
Testing and Managing Tasks
Using Task Queues in Python
Using Task Queues in Java
Transactional Task Enqueueing
Scheduled Tasks
14. The Django Web Application Framework
Installing Django
Creating a Django Project
The Request Handler Script
The Django App Engine Helper
Creating a Django Application
Using App Engine Models With Django
Using Django Unit Tests and Fixtures
Using Django Forms
15. Deploying and Managing Applications
Uploading an Application
Using Versions
Managing Service Configuration
Managing Indexes
Browsing and Downloading Logs
Inspecting the Datastore
Application Settings
Managing Developers
Quotas and Billing
Getting Help
Index
Programming google app engine
- 名称
- 类型
- 大小
光盘服务联系方式: 020-38250260 客服QQ:4006604884
云图客服:
用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问
Video Player
×
Audio Player
×
pdf Player
×