目 录
1 绪论................................................................................................... 1
1.1 项目背景................................................................................................................ 1
1.2 发展历程................................................................................................................ 1
1.3 研究意义................................................................................................................ 1
1.4 研究现状................................................................................................................ 1
1.4.1 国内研究现状............................................................................................... 1
1.4.2 国外研究现状............................................................................................... 2
1.5 系统概述................................................................................................................ 2
2 小说网站系统分析............................................................................. 3
2.1 系统需求分析......................................................................................................... 3
2.1.1 功能需求...................................................................................................... 3
2.2 系统可行性分析技术及开发方法可行性.................................................................. 3
2.3 业务流程分析......................................................................................................... 4
3 小说网站设计.................................................................................... 5
3.1 系统物理环境配置系统硬件配置:......................................................................... 5
3.2 项目规划................................................................................................................ 5
3.3 系统概要设计......................................................................................................... 5
3.4 数据库设计............................................................................................................ 6
3.5 系统详细设计....................................................................................................... 11
3.5.1 用户模块设计............................................................................................. 11
4 小说网站的实现............................................................................... 17
4.1 系统技术实现....................................................................................................... 17
4.1.1 JSP简介...................................................................................................... 17
4.1.2 SpringMVC结构概述................................................................................... 17
4.1.3 MyBatis简介................................................................................................ 17
4.2 系统首页实现....................................................................................................... 17
4.3 注册模块实现....................................................................................................... 18
4.4 读者模块实现....................................................................................................... 18
4.4.1 读者登录.................................................................................................... 18
4.4.2 读者修改个人信息...................................................................................... 19
4.4.3 书籍简介模块............................................................................................. 20
4.4.4 购物车模块................................................................................................ 20
4.4.5 订阅模块.................................................................................................... 20
4.4.6 关注模块.................................................................................................... 21
4.4.7 评论模块.................................................................................................... 22
4.5 管理员模块的实现................................................................................................ 22
4.5.1 管理员登录................................................................................................ 22
4.5.2 读者信息管理功能...................................................................................... 22
4.5.3 书籍信息管理功能...................................................................................... 23
4.5.4 书籍类型管理功能...................................................................................... 23
4.5.5 订阅管理功能............................................................................................. 24
4.5.6 评论管理功能............................................................................................. 24
5 系统测试.......................................................................................... 26
5.1 系统测试方法....................................................................................................... 26
5.2 系统测试的目的和原则......................................................................................... 26
5.3 系统测试.............................................................................................................. 26
5.4 系统测试效果....................................................................................................... 26
6 结 论............................................................................................... 29
6.1 系统开发总结....................................................................................................... 29
6.2 存在问题及改进................................................................................................... 29
参考文献............................................................................................. 30
致 谢................................................................................................. 31
基于SSM的小说网站的设计与实现
摘要:本论文的主题是小说网站的设计与实现。本文讲述了电子图书订购网站一题选择的重要性,并对相关领 域的相关关键技术进行了探讨。然后,本文阐述了小说网站的应用前景,并对本网站的设想进行了实现。该系统由三个主要角色部分组成,每个部分都有自己的功能。具体如下:
未登录部分:只拥有浏览书籍简介,搜索书籍,注册会员的功能。 读者用户部分: 1. 登录网站 2. 搜索及浏览书籍列表 3. 在线订阅书籍 4. 查看购物车 5. 关注书籍 6. 读者评论功能。 ( 3 )管理员部分: 1. 管理读者用户信息 2. 管理书籍 (书籍简介以及详情信息)。 3. 管理图书类型。 4. 管理订阅(即对于读者书籍订单的管理)。 5. 管理读者评论。
根据本网站的需求以及需要实现的功能,运用到了如下的技术以及工具作为辅助:选择 Eclipse 为开发工具,后台数据库( DataBase ) 选择了 MySQL ,使用 Spring 框架,并以 A5M2 数据库编辑器辅助进行对数据库中数据的查看与编辑。前端页面采用了 jsp 、 css 、 js 等技术, Tomcat 被用作 Web 应用服务器进行对程序的部署,用于 JSP 、 servlet 和程序的开发和调试。后端服务器则是使用 Spring 框架整合 MyBatis ,并使用 MVC 分层思想,分为 Controler , Service 以及 Dao 三层来处理业务逻辑。
通过测试,该系统具有良好的实用性,能够满足读者的在线阅读及订阅图书的需求。在此基础上,管理员还可 以更轻松地完成管理任务。
关键词:线上书籍订阅网站; SpringMVC ;三层架构; MySQL ; MyBatis ; Java
Design and Implementation of E-book Subscription Website
Abstract : The topic of this thesis is the design and implementation of e-book subscription website.This paper describes the importance of the selection of electronic book ordering website and discusses the key technologies in related fields.Then,this paper expounds the application prospect of e-book subscription website,and carries on the realization of the idea of this website.
The system consists of three main role parts,each with its own function.Details are as follows:(1)Unlogged part:it only has the functions of browsing book introduction,searching books and registering members.
(2)Readers and users:1.Login website 2.Search and browse book list 3.Subscribe books online 4.View shopping cart 5.Follow books 6.
(3)Administrator:1.Manage the information of readers and users 2.Manage books(introduction and details of books).3.Manage book types.4.Manage subscriptions(i.e.,manage reader orders for books).5.Manage reader reviews.
According to the requirements of this website and the functions that need to be realized,the following technologies and tools are used as auxiliary:Eclipse is selected as the development tool,MySQL is selected as the background DataBase,Spring framework is used,and A5M2 DataBase editor is used to assist the viewing and editing of data in the DataBase.The front-end page uses JSP,CSS,JS and other technologies.Tomcat is used as a Web application server for the deployment of the program,and is used for the development and debugging of JSP,servlet and program.The back-end server uses Spring framework to integrate MyBatis and uses MVC layering idea,which is divided into Controler,Service and Dao to process business logic.
Through the test,the system has good practicability and can meet the needs of readers to read and subscribe books online.On top of that,administrators can more easily complete administrative tasks.
Key words: Online book subscription website ; SpringMVC ; Three-layer architecture ; MySQL ; MyBatis ; Java
">