摘要
随着Internet的广泛应用,动态网页技术也应运而生。本文介绍了应用ASP动态网页技术开发博客系统。
博客系统主要为用户提供发表文章、浏览文章等功能,用户通过Internet可以发表一些自己撰写的文章以和其他网友进行交流。博客系统主要实现了文章管理的数字化、信息化、智能化,是打破传统报刊、杂志发表文章方式的新尝试。
本系统的开发设计实现采用ASP技术,系统后台使用Microsoft的Access 2000数据库,并通过使用ODBC技术访问。
本文对博客系统进行整体分析,明确了系统的可行性和用户需求;根据模块化原理,规划设计了系统功能模块;在数据库设计部分,详细说明了系统数据库的结构和数据库的完整性、安全性措施;程序设计则采用面向对象的程序设计思想,提出系统的程序设计思路,对前台与后台功能的程序实现进行了详细论述;系统测试部分,具体分析测试过程中出现的主要问题,并提出了解决方案,实现系统功能。最后,对系统作以客观、全面的评价,并对进一步改进提出了建议。
关键字:博客ASP Access 2000 ODBC
Abstract
With the extensive application of the Internet, dynamic web technology has emerged. This text describes the application of ASP dynamic web technology and development the blog system.
Blog system is mainly to provide users with published articles, browse articles, and other functions,Users can express themselves by some articles and with other netizens to conduct exchanges. Blog system of the main article on the digital management, information, intelligence, is to break the way of Released an article by traditional newspapers and magazine published ,it make a new way to try.
The system is designed by ASP technology, backstage adoption Access 2000 database,and use the ODBC technology to visit.
In this text,it analysis the blog system by feasibility and the demand of the user. Under the modular theory, planning and design of the system functional modules; In the database design, a detailed description of the database structure and database integrity, security measures; Programming is used object-oriented programming design, system design ideas, background for the future and function of the program in detail; System testing, Analysis of the specific course of testing the key issues and proposed solutions to achieve system function. Finally, the system in an objective, comprehensive evaluation, as well as further improvements made.
Key words: blog ASP Access 2000 ODBC
目录
第1章 系统概述 2
1.1 项目背景 3
1.2 系统开发的意义 4
1.2.1 发布想法 4
1.2.2 博客的用途 5
1.3 系统开发的目标 5
1.3.1 任何拥有博客的人都可以做到 5
1.3.2 访问博客系统的人,可以做到 6
1.4 系统概述 6
1.5 系统的开发方法 7
第2章 系统分析 9
2.1 可行性分析 9
2.2 需求分析 9
2.2.1 管理员登录 10
2.2.2 文章管理 10
2.2.3 系统信息管理 10
2.3 系统的主要技术分析 10
2.3.1 ASP技术概论 10
2.3.2 ASP工作原理 11
2.3.3 ODBC技术 12
2.3.4 硬件设备及操作系统 13
2.3.5 系统开发平台 13
2.4 数据分析 13
2.5 数据流图 14
第3章 数据库设计 16
3.1 数据库技术概述 16
3.2 数据库选择 16
3.3 数据库德概念结构设计 18
3.3.1 实体与属性之间关系 18
3.3.2 数据库的E-R图 19
3.4 数据库逻辑结构设计 21
3.5 数据库德完整性和安全性 25
3.5.1 数据库的完整性约束 25
3.5.2 数据库的安全性 26
第4章 系统分析 27
4.1 系统总体设计 27
4.2 公用模块的编写 28
4.2.1 数据库连接文件 28
4.2.2 用户登录和注销 28
4.2.3 地址栏和博客主题设置 29
4.3 客户界面 29
4.3.1 界面头设计 29
4.3.2 界面尾设计 30
4.3.3 首页设计与实现 30
4.3.4 用户注册模块设计 31
4.3.5 给我留言模块 32
4.3.6 "文章评论"功能模块设计 32
4.4 后台管理界面设计 33
4.4.1 "添加分类"功能模块 33
4.4.2 "分类管理"功能模块 34
4.4.3 "添加文章"功能模块 34
4.4.4 "文章管理"功能模块 35
4.4.5 "留言管理"功能模块 35
4.4.6 "基本设置"功能模块 36
4.4.7 管理员密码模块 37
4.4.8 系统管理模块 37
第5章 系统测试 38
5.1 测试目的 38
5.2 测试方法 38
5.3 测试实例 38
5.3.1 后台管理权限测试 38
5.3.2 前台文章显示测试 39
5.3.3 前台显示文章详细内容测试 39
5.3.4 管理员测试 39
5.3.5 后台管理权限测试 40
5.3.6 文章管理 41
5.3.7 系统信息管理 42
结论 43
谢辞 44
参考文献 45
附录 46
附录一 软件使用说明书 46
一 系统简介 46
二 操作说明 46
三 前台操作 47
四 后台操作 47
附录二 源代码 47
第1章 系统概述
1.1 项目背景
Blog,是Weblog的简称。Weblog,其实是Web和Log的组合词。Web,指World Wide Web,当然是指互连网了;Log的原义则是"航海日志",后指任何类型的流水记录。合在一起来理解,Weblog就是在网络上的一种流水记录形式或者简称"网络日志"。Blogger或Weblogger,是指习惯于日常记录并使用Weblog工具的人。虽然在大陆早些时候或者台湾等地,对此概念的译名不尽相同(有的称为"网志",有的称之为"网录"等等),但目前已基本统一到"博客"一词上来。该词最早是在2002年8月8日由著名的网络评论家王俊秀和方兴东共同撰文提出来的。博客也好,网志也罢,仅仅是一种名称而已,它的本义还是逃不过Weblog的范围。只是,通常我们所说的"博客",既可用作名词Blogger或weblogger--指具有博客行为的一类人;也可以作动词用(相当于英文中的Weblog或blog),指博客采取的具有博客行为反映、是第三方可以用视觉感受到的行为,即博客们所撰写的Blog。因此,"他/她是一位博客,他/她天天在博客"及"博客博什么客?"在中文语法与逻辑上都是正确。只是不同场合的用法不同罢了。
Blog究竟是什么?说了半天,其实一个Blog就是一个网页,它通常是由简短且经常更新的帖子(Post)所构成,这些张贴的文章都按照年份和日期倒序排列。Blog的内容和目的有很大的不同,Blog的内容和目的有很大的不同,从对其他网站的超级链接和评论,有关公司、个人、构想的新闻到日记、照片、诗歌、散文,甚至科幻小说的发表或张贴都有。许多Blogs记录着blog个人所见、所闻、所想,还有一些Blogs则是一群人基于某个特定主题或共同利益领域的集体创作。撰写这些Weblog或Blog的人就叫做Blogger或Blog writer。
博客存在的方式,一般分为三种类型:一是托管博客,无须自己注册域名、租用空间和编制网页,博客们只要去免费注册申请即可拥有自己的博客空间,是最"多快好省"的方式。如英文的blogger、wordpress及多种语言的博客室(blogates)等都提供这样的服务;二是自建独立网站的博客,有自己的域名、空间和页面风格,需要一定的条件。如方兴东建立的"博客中国"站(blogchina);三是附属博客,将自己的博客作为某一个网站的一部分(如一个栏目、一个频道或
上一篇:
On Relevance of Social Class to the Understanding of Consumer Behavior
下一篇:
基于JSP邮件收发系统论文