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

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
主站蜘蛛池模板: 耒阳市| 玛纳斯县| 阿克| 琼海市| 洪洞县| 延寿县| 法库县| 鱼台县| 贡嘎县| 新晃| 潼关县| 文昌市| 桐柏县| 太和县| 鸡东县| 涞水县| 闸北区| 呼伦贝尔市| 邯郸市| 和田县| 常山县| 延川县| 济南市| 八宿县| 汤阴县| 收藏| 壤塘县| 辽宁省| 灌南县| 綦江县| 横山县| 磴口县| 昌邑市| 文登市| 佛坪县| 吉林市| 原阳县| 临武县| 兴文县| 宜良县| 淳化县|