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

Chapter 1.  Building a Twitter-Like Application Using the MVC Design Pattern

The Model View Controller (MVC) design pattern was very popular in the eighties in the software industry. This pattern helped so many engineers and companies to build better software for a while and is still useful nowadays with the rise of Node.js and some Node frameworks as Express.js (more information about Express.js and its API can be found at http://expressjs.com/).

Note

As the Express.js website says, it is "Fast, unopinionated, minimalist web framework for Node.js."

Express.js is the most popular Node framework and many companies across the globe have adopted it. So in our first application, let's see how to apply the MVC pattern to create an application using only JavaScript at the backend.

In this chapter, we will cover these topics:

  • Installing the Node and Express framework
  • MVC design pattern
  • Dealing with Yeoman generator
  • How to use Express generator
  • How to deal with Express template engine
  • User authentication
  • MongoDB connection with Mongoose Schema
主站蜘蛛池模板: 子洲县| 依安县| 武冈市| 万荣县| 夏河县| 金塔县| 嘉禾县| 五莲县| 英超| 布尔津县| 璧山县| 潮安县| 淮安市| 吉木乃县| 巴中市| 石林| 金寨县| 楚雄市| SHOW| 桂林市| 合阳县| 通州区| 达拉特旗| 西华县| 玛纳斯县| 崇州市| 玉溪市| 佛学| 阜新| 翁牛特旗| 克什克腾旗| 凤山县| 呈贡县| 疏勒县| 宜宾县| 长宁县| 彝良县| 芦山县| 全椒县| 凤阳县| 宜城市|