- 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
推薦閱讀
- JavaScript+DHTML語法與范例詳解詞典
- ASP.NET MVC4框架揭秘
- Java應(yīng)用開發(fā)與實踐
- NLTK基礎(chǔ)教程:用NLTK和Python庫構(gòu)建機器學習應(yīng)用
- 軟件測試工程師面試秘籍
- Serverless架構(gòu)
- JAVA程序設(shè)計實驗教程
- 量化金融R語言高級教程
- Java系統(tǒng)化項目開發(fā)教程
- SQL Server數(shù)據(jù)庫管理與開發(fā)兵書
- PHP與MySQL權(quán)威指南
- 算法圖解
- Visual Basic語言程序設(shè)計基礎(chǔ)(第3版)
- Python Linux系統(tǒng)管理與自動化運維
- HTML5 WebSocket權(quán)威指南