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

  • Node.js 6.x Blueprints
  • Fernando Monteiro
  • 167字
  • 2021-07-14 10:34:58

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
主站蜘蛛池模板: 屏边| 习水县| 渑池县| 昭觉县| 临澧县| 西丰县| 澄江县| 老河口市| 尉氏县| 休宁县| 吉隆县| 三明市| 马边| 松阳县| 呼图壁县| 吉首市| 新乐市| 濮阳市| 大竹县| 龙海市| 汉寿县| 奉节县| 石嘴山市| 奉节县| 蒲江县| 诸暨市| 八宿县| 夏河县| 刚察县| 治县。| 绍兴市| 吴旗县| 盐亭县| 平南县| 安仁县| 白城市| 渭南市| 黎川县| 承德市| 茂名市| 沙洋县|