资料详情

基于ES6的文章发布系统的设计与实现毕业论文+任务书+开题报告

头像

计算机科学与技术

编号:3957

摘  要

在web应用日趋发展的状况下,在社交应用中,文章发布系统的身影变得越来越频繁,通过记录文章发布系统的方式,用户可以自己记录自己的所思所想。

本论文首先对于文章发布系统的开发原理,即开发背景和设计的目的进行阐述,并对于文章发布系统开发的时候利用到的各种技术及一些开发工具进行介绍。在论文的系统分析模块,对于系统的构建模型进行简单展现,并展示本项目的运行流程,结合网络上已有的各种Node.js模块和当前的技术条件,对本文章发布系统的开发可行性进行证明。在系统设计实现的部分,由需求分析中得到各类信息,对文章发布系统的不同功能进行模块分解和数据结构的构建,利用用例图,数据流图等工具进行更深层次的说明。之后会对开发后的系统进行分类测试。

最后将会展示文章发布系统在部署到远程服务器上的相关说明。本文章发布系统在开发中使用面向对象的编程思想,运用了MVC的设计模式与restful的api设计风格,搭建在基于Google V8引擎的Node.js运行环境上。为了与Node.js有最好的兼容性,本文章发布系统采用了Express框架对整体项目进行搭建,以ejs引擎模板渲染前端界面,使用了Mysql非关系型数据库作为后端数据库。

关键词:文章发布系统;NodeJS;Express;Mysql

Abstract

As the web application is developing, in the social application, the figure of the article publishing system becomes more and more frequent. By recording the article publishing system, users can record their own thoughts and thoughts.

This paper first describes the development principle of the article publishing system, that is, the development background and the purpose of the design, and introduces various technologies and some development tools used in the development of the article publishing system. At the system analysis module of the paper, the construction model of the system is simply displayed, and the running flow of the project is displayed. Combined with various Node.js modules and current technical conditions existing on the network, the feasibility of the development of the system is proved. In the part of system design and implementation, all kinds of information are obtained from requirement analysis, and the module decomposition and number of different functions of the article publishing system are carried out  According to the construction of the structure, use case diagram, data flow diagram and other tools for a deeper explanation. The developed system is then tested for classification.

Finally, a description of the article publishing system deployed to a remote server is presented. This article publishes the system in the development uses the object-oriented programming thought, uses the MVC design pattern and the restful api design style, constructs in the Google V8 engine-based Node.js operation environment. To have the best compatibility with Node.js, this article publishing system uses the Express framework to build the whole project to render the front-end interface ejs the engine template, and uses the Mysql non-relational database as the back-end database.

Keywords: article publishing system; NodeJS;Express;Mysql


目  录

摘  要 I

Abstract II

1绪论 2

1.1选题背景及意义 2

1.2国内外研究现状 3

1.3研究主要内容 4

1.3.1系统介绍 4

1.3.2系统开发方法 5

1.3.3论文组织结构 6

2系统相关技术 6

2.1 NodeJS 7

2.2 ExpressJS 10

2.3 Mysql数据库 11

2.4 EJS 13

2.5网络架构体系 14

2.6 MVC介绍 15

3系统分析 16

3.1可行性分析 17

3.2需求分析 17

3.3功能分析 18

3.3.1注册界面 18

3.3.2登录界面 20

3.3.3文章管理界面 21

3.3.4评论管理 22

3.4性能规定 22

3.4.1性能分析 22

3.4.2安全性需求分析 22

3.4.3客户端的性能需求 23

4系统设计 24

4.1数据分析 24

4.2数据流图 24

4.3数据库设计 25

4.3.1用户表users 25

4.3.2文章表posts 26

4.3.3评论表comments 26

5系统实现 27

5.1系统实现 27

5.1.1首页 27

5.1.2登录 28

5.1.3文章管理 30

5.1.4栏目管理 31

5.1.5文章发布 32

5.1.6投稿管理 32

5.2系统的部署安装与配置 33

5.2.1安装要求 33

5.2.2安装Nodejs和Mysql 33

5.2.3本系统的获取和安装 33

5.2.4系统配置 34

6系统测试 35

6.1白盒测试 35

6.2黑盒测试 38

6.2.1文章界面测试 38

6.2.2后台管理 39

6.2.3注册和登录 39

参考文献 42

致  谢 43