大学生心理咨询网站的设计与实现
姓 名 赵刚强
指导教师
负责教师
沈阳航空航天大学
2010年6月
摘 要
借助于互联网的优势,网络心理咨询服务作为一种新兴心理咨询方式,成为传统心理咨询方式的有益补充。本文描述了一个大学生心理网站的设计和开发过程,系统功能分为前台功能和后台功能两部分。前台功能由用户使用,用户可以实现注册、登录、修改个人资料、心理测试、用户按关键词检索心理咨询各类文章、发表对文章的评论、在线留言,回复留言等功能。后台功能由管理员使用,管理员可以进行用户管理、网站文章管理、网站文章评论管理、网站公告管理、测试管理等工作。本系统采用JSP技术,以MVC模式进行开发。将显示、逻辑和应用层分开,以便于系统的开发、管理和维护工作,同时提高了系统的灵活性和稳定性。后台采用MySQL作为数据库,提高了网站的性能。
关键词:大学生心理咨询;JSP;MVC模式;数据库
Abstract
As a new way of psychological counseling, the network of psychological services, with the advantages of the Internet, becomes a useful complement of the traditional counseling approach. This article describes a psychological web site’s designing and development process which made by college students. Its system functions are the front-office function and the back-office function. The front-office functions are used by the users, who can register, login, and modify personal information and psychological testing. Users also can search all the psychological services articles by keyword, publish comments on the articles, leave an online message and reply to a message and so on. While the back-office functions are for the administrators. The administrators can manage the users, Web articles, Web articles comments and Website notices, and manage the test management. With the JSP technology, the system was developed under a MVC pattern, the system separate the indication layer and logistics layer from the application layer separately in order to facilitate the development, management and maintenance and increase its flexibility and stability. The background chooses the MySQL as a database to improve its performance.
Key word : College Students psychology consultation; JSP; MVC mode; database
目 录
1 概述 2
1.1题目背景 2
1.2项目内容 2
1.2.1普通用户部分 2
1.2.2管理员部分 2
2需求分析与方案论证 2
2.1角色及权限分析 2
2.1.1普通用户用例分析 2
2.1.2管理员用例分析 2
2.2功能分析 2
2.2.1普通用户部分 2
2.2.2管理员部分 2
2.3方案论证 2
2.3.1 网站主流开发技术比较 2
2.3.2 JSP技术概述 2
2.3.3 Struts实现 MVC的机制 2
2.4设计工具环境 2
2.4.1开发平台 2
2.4.2前台开发工具 2
2.4.3后
1