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

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
主站蜘蛛池模板: 洛川县| 亚东县| 泽库县| 玛多县| 屯昌县| 伊吾县| 宜兴市| 沁阳市| 堆龙德庆县| 洪湖市| 巫山县| 贞丰县| 乌兰县| 石棉县| 陇南市| 资源县| 文成县| 静宁县| 诏安县| 凤庆县| 鹿泉市| 新巴尔虎右旗| 海丰县| 道真| 四子王旗| 镇沅| 中卫市| 南投市| 扬州市| 利辛县| 竹山县| 固镇县| 偃师市| 永康市| 于田县| 眉山市| 昭觉县| 广德县| 龙陵县| 林甸县| 独山县|