毕业设计说明书
- 格式:doc
- 大小:1.46 MB
- 文档页数:46
毕业设计说明书 个人博客系统的设计与实现
学生姓名: 周海芳 学号: 0906034202 学 院: 电子与计算机科学技术 专 业: 计算机科学与技术 指导教师: 张元 2013年 6 月 个人博客系统的设计与实现 摘要 随着互联网技术的高速发展,生活节奏的加快,博客被越来越多的人选择作为学习和交流的工具。博客的内容丰富多彩,有对其他网站的超链接和评论,有个人构思,还有日志、照片、诗歌和散文等。博客具有开放性、互动性和共享性的特点,是一个很好的交流的渠道,是思想展现的舞台和学术探讨的园地。 本系统采用B/S(浏览器/服务器)开发模式,以My Eclipse作为开发平台,采用JSP技术,以Tomcat为服务器和SQL Server 2008为后台数据库。本系统是一个实用的个人博客系统,集日志、图片、评论于一身。用户可以查看文章、相册,还可以发表文章评论。博主可以管理自己的日志、相册、评论等。整个系统层次结构清晰、性能稳定、界面友好,使用起来简单方便。
关键字:互联网,B/S,MyEclipse,JSP Person Blog System Design and Implementation Abstract With the rapid development of Internet technology and high speed of life rhythm, Blog has being chosen by more and more people as the tool of study and communication. The content of Blog is very rich and colourful which has hyperlink and comment of other website, personal thinking, news, music, article and so on. Because of the character of independence, interaction and share of Blog, it is regarded as an outlet of good exchange channel, the stage of personal thought displaying, and the garden area of knowledge studying. This system use B/S (Browser/Server) development pattern, MyEclipse as a development platform,with the JSP technology, Tomcat for servers and SQL Server 2008 for the backend database.This system is a practical personal blog system ,including logs, pictures, comment as a whole . Visitors can view the article, photo album, also can give a discuss. Blogger can manage their logs, photo albums, comments, etc. The system structure is clear, stable performance, friendly interface, it is simple and convenient to use.
Key words: Internet , B/S , MyEclipse , JSP 中北大学2013届毕业设计说明书
第 I 页 共 II 页 目 录
1 引 言 ........................................................... 1 1.1 个人博客系统简介 .............................................. 1 1.2 国内外研究现状 ................................................ 1 2 开发技术及开发环境 .............................................. 3 2.1 开发技术 ...................................................... 3 2.1.1 JSP概述 ..................................................... 3 2.1.2 Servlet 概述 ................................................ 3 2.1.3 JavaBean概述 ................................................ 4 2.2 JSP网站开发模式 ............................................... 4 2.3 开发工具 ...................................................... 5 2.3.1 MyEclipse简介 ................................................ 5 2.3.2 Tomcat简介 .................................................. 6 2.3.3 SQL Server简介 .............................................. 6 3 需求分析 ........................................................ 8 3.1 功能需求概述 .................................................. 8 3.2 系统总体功能结构 .............................................. 9 4 系统概要设计 ................................................... 11 4.1 数据库设计E-R图 ............................................. 11 4.2 逻辑结构设计 ................................................. 14 4.3 数据流图 ..................................................... 17 5 详细设计与实现 ................................................. 19 5.1 公共模块的设计与实现 ......................................... 19 5.1.1 数据库连接及操作类的编写 ................................... 19 5.1.2 字符串处理类的编写 ......................................... 19 5.1.3 系统配置 ................................................... 20 5.2 用户登录模块的设计与实现 ..................................... 20 5.2.1 用户登录模块概述 ........................................... 20 5.2.2 用户登录模块技术分析 ....................................... 21 中北大学2013届毕业设计说明书 第 II 页 共 II 页 5.2.3 用户登录模块实现过程 ....................................... 21
5.3 前台模块的设计与实现 ......................................... 22 5.3.1 前台页面的设计与实现 ....................................... 22 5.3.2 文章查询模块设计与实现 ..................................... 25 5.3.3 系统访问统计量模块设计与实现 ............................... 27 5.4 后台模块的设计与实现 ......................................... 28 5.4.1 后台页面的设计与实现 ....................................... 28 5.4.2 相册管理模块设计与实现 ..................................... 30 6 系统测试 ....................................................... 33 6.1 测试的目的 ................................................... 33 6.2 测试的方法 ................................................... 33 6.3 测试过程 ..................................................... 33 6.3.1 单元测试 ................................................... 33 6.3.2 集成测试 ................................................... 37 6.3.3 测试问题及解决 ............................................. 37 6.3.4 测试结果 ................................................... 37 7 结论 ........................................................... 38 参考文献 .......................................................... 39 致谢 .............................................................. 41