Design and Implementation of Blog System Based on Node.JS
- Author
- PengNa
- Advisor
- GuoHe
- School
- Dalian University of Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 164
- Citations
- 0
Abstract
In the rapid developing social network today, the blog is not only a model, grassroots journalism, but also is a method of sharing the progress of science and technology. Blogging motivation is varied, and the blog content is varied, from the log to the important topic of comments, and from self venting to the emotional support of team or the community cooperation.We discovered not hard that the blog technology has been changing with the popular technology, from the beginning of writing CGI with C or C++to the Perl which is fashionable for a time, and then from PHP to WordPress gradually. In recent years, more popular Ruby on Rails and Python all have their own blogs engine. The main purpose of this paper’s blog system is to explore the new technology.Beginning in2009, Node.JS is increasingly attracting developers. Node.JS is the server’s JavaScript environment based on high-performance JavaScript engine of Google V8. Node.JS has established a complete set of development of ecological environment, other tools adopt the module for realization in the Node.JS community. We use the server’s JavaScript to run Node.JS. In consideration of the characteristics of Node.JS’s asynchronous I/O, we compared the characteristics of several database, include relational data, MySQL Redis Key/Value NoSQL data and MongoDB Document-Oriented database. Because the MongoDB data’s minimum unit is Document in DB, it is very suitable for the Blog storage. Finally, we use the newst Mongo DB to store the blog data.In order to combine with Node.JS, the blog system also uses Express.JS as web framework, Jade as Node’s template engine, SASS for simplifying the CSS template and Mongoose to operate and manage MongoDB.
Table of contents
Summary 4-5
Abstract 5-9
1 Introduction 9-15
1.1 Project Background 9-11 <br / > 1.1.1 What is a blog technological development 9
1.1.2 blog of 9
1.1.3 JavaScript development 9-11
1.2 system developed sense 11
1.2.1 engine to fill gaps in Node.JS achieve Blog 11
1.2.2 explore a new blog module 11 <br / > 1.3 system development goals 11-12
1.3.1 availability 11-12
1.3.2 response time 12
1.3.3 available operability 12
1.3.4 scalability 12
1.4 Introduction development methodologies 12-13
1.5 system 13 -14
1.6 thesis structure 14-15
2 system analysis 15-23
2.1 feasibility Analysis 15
2.2 Requirements analysis 15-20
2.2.1 login screen 16-17
2.2.2 article Manager 17-18
2.2.3 Message management 18-19
2.2.4 relevant page 19-20
2.3 performance requirements 20-21
2.3.1 performance requirements Analysis 20
2.3.2 security requirements Analysis 20
2.3.3 server response time performance 20
2.3.4 client requirements 20 - 21
2.4 data Analysis 21-22
2.5 data Flow Diagram 22-23
3 related technology 23-30
3.1 network architecture 23-24
3.2 Node.JS 24-26
3.3 Express.JS 26
3.4 MongoDB 26-27
3.5 Jade 27-28
3.6 SASS 28
3.7 YSlow 28
3.8 MVC Introduction 28-30
4 database architecture 30-34
4.1 database technical Overview 30
4.2 database selection 30
4.3 data Figure 30-31
4.4 logical data structure design 31-34
4.4.1 user login information 32
4.4.2 user Group login information 32
4.4.3 article 32-33
4.4.4 comment 33
4.4.5 related information 33-34
5 System design 34-42
5.1 system Architecture 34-39
5.1.1 Presentation Layer 34-36
5.1.2 Yewuluojiceng 36-38
5.1.3 data persistence layer 38-39
5.2 using some gadgets 39
5.2.1 MD5 encryption installation and configuration 39
5.3 system 39-42
5.3.1 install Node.JS 39-40
5.3.2 framework and the need to install the relevant tools used 40-42
6 system shows 42-47
6.1 main interface shows 42-43
6.2 article interface display 43-45
6.3 Message Show 45-46
6.4 relevant page (about) 46-47
7 system test 47-53
7.1 testing principles and objectives 47-48
7.2 test Method 48-49
7.3 test cases 49-53
7.3.1 user identity management Show 49
7.3.2 article page elements 49
7.3.3 Show article details 49-50
7.3.4 bloggers login 50
7.3.5 article Manager 50-51
7.3.6 Message View 51
7.3.7 Message 51-52
7.3.8 Message management 52
7.3.9 relevant page 52-53
conclusion 53-54
reference literature 54-56
Thanks 56-57
Related dissertations
- Design and Implementation of Video Conference System Based on WebRTC
- Research and Application of Recommender System Based on MongoDB
- The research and implementation of application in the bookmark system of Web information extraction
- Towards Formalization of MongoDB
- Design and implementation of SNS platform based on MongoDB
- Design and Implementation of Service Load Auto-prediction in Cloud Platform
- Design and Application of a General Frame for Desktop Application Base on Webkit
- The Design and Development of Diagnosis Support System for Community Health
- The distributed environment of massive spatial data storage and parallel query technology
- Research and Implementation of Web Text Mining System Based Mapreduce
- Rapid Clustering Method of Large-scale Internet Geographic Markers
- Design and Implementation of MongoDB Data Balance System Based on Chord
- The Research and Implementation of Key Technologies for Saas Multi-Tenancy Data Tier Based on Mongodb
- Design and Implementation of E-form System Based on Relational Database and Non-relational Database
- Research on NoSQL Database Technology and Application
- Research and Application of Cloud Data Management Technology Based on MongoDB
- The process of multi threading model (M:N) study
- Design and Implementation of the Virtual Data Center Management System in Cloud Computing
- Design and Implementation of the Rule Engine Platform in the Next Generation Interactive System of Bank
- Design and Implementation of Pump Enterprise System Based on REST+NOSQL