河北大学2016届本科生毕业论文(设计)
新闻发布管理系统
摘 要
随着互联网的普及和迅速发展,人们对获取外界信息的实时性要求也有所提高。而媒体作为新闻消息的提供者,其报道模式对人类生活质量有着重要影响。针对新闻发布管理这一环节,传统的报纸杂志电视已经不能跟上生活节奏越来越快的步伐,开发高效实用的新闻发布管理系统是有必要的。该毕业设计采用ASP.NET的三层架构模型,基于Browser/Server结构,在Visual Studio开发工具下,把C#作为开发语言,SQL Server作为数据库,按照软件工程的方法开发新闻发布管理系统。系统主要分为前台功能模块和后台管理模块,其中前台功能模块主要包括用户注册模块、用户登录模块、新闻浏览模块、新闻评论模块、个人信息管理模块;后台管理模块包括类别管理模块、新闻管理模块、评论管理模块、用户管理模块。该系统与传统纸质新闻媒体相比,将广大浏览者、新闻消息、新闻记者和新闻发行者紧密联系在一起,有效缩短了新闻的发布时间,大大提高了工作效率。经过系统测试,达到了预期目标。
关键字:新闻发布系统;ASP.NET;三层架构;数据库;
河北大学2016届本科生毕业论文(设计)
News Issuing And Management System
ABSTRACT
With the popularity and rapid development of the Internet, people need to obtain the real-time information of the outside world. And the media as a news provider , its report way has a significant impact on the quality of human life. For the aspect of News issuing , the traditional newspapers ,magazines and television has been unable to keep up with the pace of life,it is necessary to develop an efficient and practical management system.This graduation project based on Browser/Server structure adopts 3-Tier Architecture of ASP.NET,uses Visual Studio as the development tools, the development language is made by using C#, the data base is built by SQL Server,and the development of system is completely according to the method of the software engineering.This system is divided into the background management module and front function module.function module of the front desk includes user registration module, the user login module, news browsing module, news commentary module, personal information management module;Background management module includes category management module, news management module, comment management module, user management module.Compared with the traditional paper media,the system binds readers,news, journalists and chief editor together,effectively shortens the release time,greatly improves the work efficiency.After the system test, the anticipated goal is achieved.
Key words: News issuing system;ASP.NET;3-Tier architecture;Database
河北大学2016届本科生毕业论文(设计)
目 录
1 引言 ................................................... 1 1.1 课题的背景 ................................................ 1 1.2 国内外研究现状及发展趋势 .................................. 1 1.2.1 国内外研究现状 .......................................... 1 1.2.2 发展趋势 ................................................ 1 1.3 系统设计目标 .............................................. 2 1.4 论文构成及研究内容 ........................................ 2
2 系统分析 ............................................... 3
2.1 可行性研究 ................................................ 3 2.1.1 技术可行性 .............................................. 3 2.1.2 经济可行性 .............................................. 3 2.1.3 操作可行性 .............................................. 3 2.1.4 法律可行性 .............................................. 3 2.2 需求分析 .................................................. 3 2.2.1 系统用户需求 ............................................ 4 2.2.2 系统业务流程分析 ........................................ 4 2.2.3 系统功能需求 ............................................ 5 2.2.4 数据流分析 .............................................. 6
3 系统总体设计 ........................................... 9
3.1 总体设计的原理 ............................................ 9
河北大学2016届本科生毕业论文(设计)
3.2 系统的功能层次结构图 ...................................... 9 3.3 数据库设计 ............................................... 10 3.3.1 实体E-R图 ............................................. 10 3.3.2 数据库的逻辑结构 ....................................... 13
4 详细设计 .............................................. 14
4.1 数据库的实现 ............................................. 14 4.1.1 数据库的建立 ........................................... 14 4.1.2 数据库的连接 ........................................... 17 4.2 系统设计流程 ............................................. 18
5 开发工具及相关技术介绍 ................................ 22
5.1 开发工具介绍 ............................................. 22 5.1.1 Visual Studio介绍 ..................................... 22 5.1.2 SQL Server介绍 ........................................ 23 5.1.3 IIS介绍 ............................................... 23 5.2 开发模式B/S介绍 ......................................... 23 5.3 开发技术介绍 ............................................. 24 5.3.1 ASP.NET介绍 ........................................... 24 5.3.2 ADO.NET介绍 ........................................... 24
6 系统实现 .............................................. 25
6.1 前台功能模块的实现 ....................................... 25 6.1.1 新闻主页模块 ........................................... 25 6.1.2 用户注册模块 ........................................... 26
河北大学2016届本科生毕业论文(设计)
6.1.3 用户登录模块 ........................................... 26 6.1.4 个人信息管理模块 ....................................... 26 6.1.5 新闻搜索模块 ........................................... 27 6.1.6 新闻阅读模块 ........................................... 28 6.1.7 分类阅读模块 ........................................... 29 6.1.8 新闻评论模块 ........................................... 30 6.2 后台管理模块的实现 ....................................... 31 6.2.1 后台登录模块 ........................................... 31 6.2.2 类别管理模块 ........................................... 33 6.2.3 新闻管理模块 ........................................... 34 6.2.4 用户管理模块 ........................................... 36 6.2.5 评论管理模块 ........................................... 37 6.3 系统出错界面 ............................................. 38
7 结论 .................................................. 39 参考文献 ................................................. 40 致谢 ..................................................... 41 附录 ..................................................... 41