Book Image

Mastering Google App Engine

By : Mohsin Hijazee, Mohsin Shafique
Book Image

Mastering Google App Engine

By: Mohsin Hijazee, Mohsin Shafique

Overview of this book

Table of Contents (18 chapters)
Mastering Google App Engine
About the Author
About the Reviewers

Chapter 2. Handling Web Requests

Now that you understand the runtime environment of Google App Engine quite well, how it deals with an incoming web requests, and how they are handed over to your application, it's time to divert our attention to the most important aspect of web application development—handling and responding to web requests. In this chapter, we will have a look at how to handle web requests from an application that is deployed on Google App Engine. We will study the two main modes of web request handling and then focus on how to render templates, serve static files, and finally, how to use web frameworks.

In this chapter, we will cover the following topics:

  • The CGI and WSGI way of request handling

  • Rendering templates

  • Serving static files

  • Working with web frameworks