校园网新闻发布系统 - 图文 联系客服

发布时间 : 星期六 文章校园网新闻发布系统 - 图文更新完毕开始阅读0206eb4c2e3f5727a5e96234

四川师范大学成都学院专科毕业设计

校园网新闻发布系统的设计与实现

内容摘要:校园网新闻发布系统是一种常用的校园管理信息应用软件系统。本设计以

校园网新闻发布为背景,采用B/S(Browser/Server)浏览器/服务器结构的三层Web应用程序开发设计模型,用SQL Server 2005为数据库,页面程序采用ASP技术编写。本系统包括前台系统和后台系统两部分,前台系统包括主要是新闻查询等信息管理的功能,后台系统包括增加新闻、编辑新闻信息、修改新闻信息、用户管理等信息管理的功能。经测试后系统运行正常,基本能满足校园网新闻的发布,实现了新闻查询的自动化、高效化

关键词:校园网 新闻发布 Browser/Server ASP SQL Server 2000

I

四川师范大学成都学院专科毕业设计

Design and Implementation for Campus News Publishing System

Abstract: Campus News Publishing System is a common management information

software system. The design of the campus network news as the background, the use of B / S (Browser / Server) browser / server structure of the three-tier Web application development and design model, using SQL Server 2005 database, the page program written using ASP technology. The system includes front and back office systems of two parts, front desk system includes mainly press inquiries and other information management functions, back office systems including increased news, editing news and information, news and information changes, user management, information management functions. After the test system is running normally, the campus network to meet the basic news releases, news check achieve automation and efficient.

Keyword: Campus News Browser / Server ASP SQL Server 2000

II

四川师范大学成都学院专科毕业设计

目 录

前言 ................................................................. 1 1 开发技术与开发工具 ................................................ 1 1.1 开发工具的选用 ................................................. 1 1.2 ASP技术访问WEB数据库 ......................................... 2 1.2.1 ASP访问数据库的原理 ....................................... 2 1.2.2 ASP页面的结构 ............................................. 3 1.2.3 ASP的内建对象 ............................................. 3 1.2.4 ASP的主要内置组件 ......................................... 3 1.2.5 Database Access组件ADO ................................... 4 1.2.6 开发环境 .................................................. 4 2 系统分析与总体设计 ................................................ 5 2.1 系统功能描述 ................................................... 5 2.1.1 新闻类别管理 .............................................. 5 2.1.2 新闻发布管理 .............................................. 5 2.1.3 图片处理模块 .............................................. 5 2.1.4 新闻查询模块 .............................................. 5 2.1.5 网友留言模块 .............................................. 5 2.1.6 系统用户管理功能 .......................................... 6 2.2 系统功能模块划分 ............................................... 6 2.3 系统流程分析 ................................................... 7 3 数据库结构设计与实现 .............................................. 8 3.1 创建数据库 ..................................................... 8 3.2 数据库逻辑结构设计 ............................................. 8 3.2.1 新闻类别表Category ........................................ 8 3.2.2 基本新闻表News ............................................ 9 3.2.3 网友评论信息表Discuss .................................... 10 3.2.4 用户信息表Users .......................................... 10 3.3 创建表的脚本文件 .............................................. 10 3.3.1 创建表Category ........................................... 11 3.3.2 创建表News ............................................... 11

III

四川师范大学成都学院专科毕业设计

3.3.3 创建表Discuss ............................................ 12 3.3.4 创建表Users .............................................. 12 4 目录结构与通用模块 ............................................... 13 4.1 目录结构 ...................................................... 13 4.2 通用模块 ...................................................... 13 4.2.1 ConnDB.asp ............................................... 13 4.2.2 IsAdmin.asp .............................................. 14 4.2.3 IsAuthor.asp ............................................. 14 4.2.4 template.asp ............................................. 15 5 系统主界面与登录程序设计 ......................................... 17 5.1 设计主界面 .................................................... 17 5.1.1 显示新闻类别链接 ......................................... 18 5.1.2 新闻管理链接 ............................................. 19 5.1.3 显示各新闻类别中的最新新闻 ............................... 19 5.2 登录程序设计 .................................................. 22 5.3 设计管理界面 .................................................. 23 5.3.1 包含文件 .................................................. 24 5.3.2 显示新闻类别链接 ......................................... 24 5.3.3 显示管理链接 ............................................. 25 5.3.4 分页显示新闻信息 ......................................... 25 6 新闻类别管理模块设计 .............................................. 28 6.1 设计新闻类别管理界面 .......................................... 28 6.1.1 显示新闻类别信息 ......................................... 29 6.1.2 显示功能按钮 ............................................. 30 6.1.3 显示添加或修改新闻类别的表单 ............................. 31 6.2 添加新闻类别 .................................................. 32 6.3 修改新闻类别 .................................................. 34 6.4 删除新闻类别 .................................................. 34 7 新闻发布管理模块设计 ............................................. 36 7.1 添加新闻 ...................................................... 36 7.2 修改新闻 ...................................................... 41

IV