- 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
推薦閱讀
- JBoss Weld CDI for Java Platform
- 程序員修煉之道:程序設計入門30講
- Designing Hyper-V Solutions
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- 機械工程師Python編程:入門、實戰與進階
- 人人都懂設計模式:從生活中領悟設計模式(Python實現)
- 深入淺出React和Redux
- Julia 1.0 Programming Complete Reference Guide
- 實戰Java高并發程序設計(第2版)
- OpenCV Android開發實戰
- Building Business Websites with Squarespace 7(Second Edition)
- 微前端設計與實現
- Mastering Drupal 8
- 前端架構設計
- Cinder:Begin Creative Coding