- 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
推薦閱讀
- Git Version Control Cookbook
- 趣學Python算法100例
- C語言程序設計實踐教程
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- JavaScript 程序設計案例教程
- Mastering JavaScript High Performance
- 時空數據建模及其應用
- Essential C++(中文版)
- Hadoop 2.X HDFS源碼剖析
- Learning iOS Security
- Oracle Data Guard 11gR2 Administration Beginner's Guide
- Unity 5.X從入門到精通
- 超好玩的Scratch 3.5少兒編程
- 系統分析師UML用例實戰
- 深入理解Zabbix監控系統