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

Chapter 1. Backend Development with Express

This chapter will show how to set up Express for our application. Express is the application framework for Node.js. If Node.js is the foundation, Express will be the framework of our house. Express provides us with routing, sessions, form processing, and so on. Entire books have been written on it, so we will just touch on what we require. If you have never used Express before in a Node project, don't worry, you will get a good feel of it by the end of this chapter. If you were lucky enough to use Express before, then hopefully I can show you something you don't already know.

The topics that we will cover in this chapter are as follows:

  • Serving and responding to HTTP requests
  • Routing
  • Middleware
  • Templating
  • Creating sessions
  • Parsing form data
  • Integrating everything together
主站蜘蛛池模板: 宁城县| 沙洋县| 嘉峪关市| 桂林市| 桂阳县| 济源市| 谷城县| 松原市| 兴城市| 喀喇沁旗| 汉沽区| 渭南市| 项城市| 金山区| 定西市| 华容县| 佳木斯市| 高台县| 米易县| 西青区| 电白县| 沁水县| 栾城县| 常宁市| 吴旗县| 丹东市| 普宁市| 革吉县| 临沂市| 达孜县| 衡水市| 衢州市| 吴川市| 海南省| 浪卡子县| 大名县| 龙游县| 洪雅县| 潮州市| 平江县| 砀山县|