Tuesday, October 11, 2011

O'Reilly.Using Google App Engine.2009



Book Details:
By: Charles Severance
Publisher: O'Reilly Media
Print: May 2009
Ebook: May 2009
Pages: 272
Print ISBN:978-0-596-80069-7 | ISBN 10:0-596-80069-X
Ebook ISBN:978-0-596-80356-8 | ISBN 10:0-596-80356-7

About the Book
Build exciting, scalable web applications quickly and confidently using Google App Engine and this book, even if you have little or no experience in programming or web development.

App Engine is perhaps the most appealing web technology to appear in the last year, providing an easy-to-use application framework with basic web tools. While Google's own tutorial assumes significant experience, Using Google App Engine will help anyone get started with this platform. By the end of this book, you'll know how to build complete, interactive applications and deploy them to the cloud using the same servers that power Google applications.

With this book, you will:

Get an overview of the technologies necessary to use Google App Engine
Learn how to use Python, HTML, Cascading Style Sheets (CSS), HTTP, and DataStore, App Engine's database
Grasp the technical aspects necessary to create sophisticated, dynamic web applications
Understand what's required to deploy your applications

Using Google App Engine is also an excellent resource for experienced programmers who want to acquire working knowledge of web technologies. Building web applications used to be for experts only, but with Google App Engine-and this book-anyone can create a dynamic web presence.

Table of Contents
Chapter 1 : Programming on the Web
The Request/Response Cycle
What Is Google App Engine?
What Is a “Cloud”?
Why Did Google Build App Engine and Give It Away for Free?
What Is the Google Infrastructure Cloud?
Enter the Application Engine
Your Application Must Be a Good Citizen in the Google Cloud
How the Cloud Runs Your Application
Why You Really Want to Run in the Cloud
The Simplest App Engine Application
Summary
Exercises
Chapter 2 : HTML and CSS
A Brief History of HTML and CSS
HyperText Markup Language (HTML)
A Well-Formed HTML Document
Validating Your HTML
HyperText Links (Anchor Tags)
Multiple Files
Lists in HTML
Specifying Styles Using CSS
Exerting More Control over Markup
Building the Navigation Menu
Summary
Exercises
Chapter 3 : Python
What Is Programming?
About Python
The Essence of Programming
Conditional Steps: A Number-Guessing Web Application
Object-Oriented Python
The Tao of Programming
Summary
Exercises
Chapter 4 : Sending Data to Your Application
Making an HTTP Request
Hacking the HTTP Protocol
The HTTP Protocol Standards
Watching HTTP in Action
HTML: Building a Form
Sending Form Data to the Server Using POST
Handling Form Data in the App Engine Server
Sending Form Data to the Server Using GET
App Engine Log
Looking at All the Data Available on an HTTP Request
Advanced: Multipart POST Data with File Upload
Summary
Exercises
Chapter 5 : The App Engine webapp Framework
A Trivial App Engine Application
An Equivalent Trivial webapp Application
The Handler Callback Pattern
Looking at the Handler Code
What Is “self” and Why Is It There?
Number Guessing Using the webapp Framework
Web Server Logs
Summary
Exercises
Chapter 6 : Templates
Template Syntax
Using the Templates from Python
The Number-Guessing Game Using Templates
Abstraction and Separation of Concerns: “Model View Controller”
Building a Multiscreen Application
Static Files in App Engine
Generalizing Template Lookup with Multiple Templates
Extending Base Templates
Conditional Processing Templates
Extending Our Application
Syntax Errors
More on Templates
Summary
Exercises
Chapter 7 : Cookies and Sessions
HTTP Cookies
Logging In and Logging Out Using Sessions
Installing the Simple Session Utility
Using the Session to Mark Login and Logout
Changing the User Interface for a Logged-In User
Summary
Exercises
Chapter 8 : App Engine Datastore
The Model-View-Controller Pattern
Looking Through the Datastore
Terminology: Different Types of Keys
References Between Data Models
Summary
Exercises
Chapter 9 : JavaScript, jQuery, and AJAX
jQuery
Create a View of the Chat Messages in HTML
Asynchronously Updating a <div> Using AJAX
Summary
Exercises
Chapter 10 : Running Your Application on the Google Infrastructure
Application Engine Accounts
Creating an Application on App Engine
Logs, Statistics, and Other Features
Collaboration on Applications
Summary
Exercises
Chapter 11 : Memory Cache
The Rules of Memory Cache
Using the Memory Cache
Using the Application Console to Examine Memory Cache
Using a Memory Cache in Your Application
Building a Session Store Using Memory Cache
Sessions and Memory Cache
Summary
Exercises
Appendix : Installing and Running Google App Engine on Windows XP
Download and Install
Making Your First Application
Dealing with Errors
Shutting Down the Server
Appendix : Installing and Running Google App Engine on Windows Vista
Download and Install
Making Your First Application
Dealing with Errors
Shutting Down the Server
Appendix : Installing and Running Google App Engine on a Macintosh System
Download and Install
Making Your First Application
Dealing with Errors
Shutting Down the Server
Appendix : Installing and Running Google App Engine on a Linux System
Checking for Python
Download and Install
Making Your First Application
Dealing with Errors
Shutting Down the Server
Colophon

About the Author
Charles Severance
is the associate director for advanced technology at the University of Michigan Media Union, where he also teaches computer science courses including Introduction to C++. His current research is in the area of Internet delivery of educational material.

He has been active in IEEE standards for many years, and he edits a monthly column in the magazine IEEE Computer on computer standards. Charles is the co-host of the television show North Coast Digital and was previously the co-host of the television show Nothin but Net.

 
Download


 
By: Shahen Gasparyan

No comments:

Post a Comment