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

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
主站蜘蛛池模板: 临邑县| 平江县| 墨脱县| 易门县| 张掖市| 广东省| 英超| 温州市| 如皋市| 高州市| 灵寿县| 翁牛特旗| 天长市| 红安县| 榆树市| 桑日县| 襄城县| 江西省| 曲靖市| 江西省| 濮阳县| 凌源市| 武义县| 靖安县| 丹棱县| 金溪县| 章丘市| 德惠市| 林口县| 武汉市| 绥芬河市| 信宜市| 京山县| 清徐县| 万宁市| 安远县| 南溪县| 靖宇县| 梅州市| 五大连池市| 满洲里市|