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

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
主站蜘蛛池模板: 小金县| 安徽省| 涟水县| 远安县| 井陉县| 康保县| 城固县| 赤城县| 泰安市| 双江| 樟树市| 巩义市| 盈江县| 天长市| 陇南市| 抚松县| 湄潭县| 土默特左旗| 保康县| 文成县| 蒙自县| 巍山| 大洼县| 木兰县| 合水县| 平南县| 迁西县| 莱西市| 商洛市| 印江| 威远县| 凭祥市| 广宗县| 仙桃市| 台南市| 新乐市| 武定县| 昌宁县| 洛川县| 衡东县| 吉安县|