Examples in Node. js Development Guide (mysql version)
Source: Internet
Author: User
Nodejs is needed for work reasons, so I found this book "nodejs Development Guide". BYVoid is a senior computer student in the computer department of Tsinghua University. He is one or two years younger than me, the wide-ranging Chinese culture is really talented and admired. To put it bluntly: 1. Why do I want to write this article? Answer: nodejs is needed for work reasons, so I found node. the js Development Guide is written in this book. BYVoid is a senior computer in the computer department of Tsinghua University. He is a year or two younger than me. To put it bluntly: 1. Why do I want to write this article? A: during reading this book, the usage of the upgraded nodejs version is different from that in the book. In addition, nodejs is really good and worth learning. 2. What is the difference between my example and the example in the book? A: The node. js version is different. The latest version is used in my example. Different databases use mongdb and mysql. Models-> used to put Model objects. The examples in the book include the post topic and the node_modules-> nodejs module of the user object, for example, mysql, express, connect-flash, ejs, jade, and other public-> are used to store public resources, such as samples, javascript, css, and other routes-> route files, it is used to process various get and post requests. configure in js) utils-> tool class, uuid here. js is used to generate idviews-> store page files. The ejs template engine app is used in the same way as in the book. js-> project portal database. js-> mysql database base package. json-> system configuration file (including the version information of some modules) setting. js-> Database Configuration File
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.