官术网_书友最值得收藏!

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
主站蜘蛛池模板: 阿巴嘎旗| 台南市| 阜康市| 山西省| 宁安市| 新沂市| 东安县| 高台县| 克拉玛依市| 林州市| 凭祥市| 阳朔县| 六盘水市| 乌鲁木齐县| 鸡西市| 阳曲县| 西充县| 蒲江县| 南充市| 平武县| 陆河县| 张家港市| 寿阳县| 化隆| 汕头市| 耿马| 九江县| 英超| 临泽县| 无棣县| 宽甸| 江孜县| 海门市| 合山市| 吉安市| 栾城县| 兖州市| 满洲里市| 西安市| 海淀区| 涿鹿县|