- 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
推薦閱讀
- 大學計算機基礎(第二版)
- jQuery Mobile Web Development Essentials(Third Edition)
- 造個小程序:與微信一起干件正經事兒
- 數據結構和算法基礎(Java語言實現)
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- Securing WebLogic Server 12c
- KnockoutJS Starter
- 數據結構與算法分析(C++語言版)
- Getting Started with Greenplum for Big Data Analytics
- Mastering Akka
- Kotlin開發教程(全2冊)
- 平面設計經典案例教程:CorelDRAW X6
- Java程序設計與項目案例教程
- Python Web自動化測試設計與實現
- 從零學Java設計模式