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

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
主站蜘蛛池模板: 井冈山市| 霍城县| 阿克苏市| 新晃| 达拉特旗| 山东省| 松滋市| 湘潭市| 东宁县| 仙游县| 广宗县| 靖远县| 桃江县| 古交市| 博客| 岐山县| 上思县| 上栗县| 蒙阴县| 东方市| 丁青县| 藁城市| 青岛市| 安乡县| 临沧市| 白水县| 布尔津县| 诏安县| 上思县| 洱源县| 锦州市| 湘阴县| 伊宁市| 股票| 溆浦县| 九龙县| 蒙山县| 新巴尔虎右旗| 三门县| 朝阳市| 赤城县|