- 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
推薦閱讀
- Visual C++程序設計學習筆記
- Java程序設計實戰教程
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- 高效微控制器C語言編程
- Microsoft Dynamics 365 Extensions Cookbook
- 數據結構(Python語言描述)(第2版)
- Learning ArcGIS for Desktop
- Express Web Application Development
- PySpark Cookbook
- GameMaker Essentials
- Emgu CV Essentials
- JavaScript程序設計(第2版)
- 監控的藝術:云原生時代的監控框架
- Scratch從入門到精通
- Anaconda數據科學實戰