西南科技大学高等教育自学考试(信息管理与服务)毕业论文
西南科技大学自学考试 学生毕业(设计)
题 目 博客系统实现 二级学院 信息工程学院 专 业 信息管理与服务 年 级 103 级2班 班 级 09级网络5班
2012年3月13日
I
西南科技大学高等教育自学考试(信息管理与服务)毕业论文
博客系统的实现
【摘要】博客是“一种表达个人思想、网络链接、内容,按照时间顺序排列,并且不断更新的
出版方式”。简单的说博客是一类人,这类人习惯于在网上写日记。
博客它通常是由简短且经常更新的帖子所构成,这些张贴的文章都按照年份和日期倒序排列。Blog的内容和目的有很大的不同,从对其他网站的超级链接和评论,有关公司、个人构想到日记、照片、诗歌、散文,甚至科幻小说的发表或张贴都有。
本博客与网上的其他博客一样,实现了一般博客所具有的功能,能够进行文章,图片的发布以及进行博客系统中的各个部分的管理、后台的管理等等,浏览者可以进行浏览和留言等等。 本博客采用PHP实现以上功能,用MySQL建立数据库,以Web网页的形式呈现,用“Wamp5Ver2.0”实现浏览各项功能。
【关键词】博客,博文,相册 ,JavaScript,MySQL数据库
I
西南科技大学高等教育自学考试(信息管理与服务)毕业论文
The realization of the blog system
【Abstract】The blog is an expression of personal thoughts, Web links, arranged in chronological
order, and constantly updated publishing. The simple blog is a class of people, these people are accustomed to in the online diary.
Blog it is usually brief and frequently updated posts composition, these articles are posted in reverse order by year and date. The contents and purpose of the Blog are very different, and hyperlinks from other sites and comments about someone's idea, to diaries, photos, poetry, prose, and even science fiction published or posted.
This blog and other blogs on the general blog, to carry articles, Pictures release, and the blog in various parts of the management, the background of the management, the viewer can navigate and message and so on.
This blog using PHP to achieve the above functions, established with MySQL database, the form of a Web page showing, use \
【Keywords】Blog, blog, photo albums, JavaScript, MySQL database
II
西南科技大学高等教育自学考试(信息管理与服务)毕业论文
目 录
第1章 绪论 ............................................................................... 1
1.1 博客的作用 ................................................................................. 1 1.2 研究博客的背景与必要性 ..................................................................... 1
第2章 关键技术简介 ....................................................................... 3
2.1 相关术语 ................................................................................... 3 2.1.1 站点 ........................................................................................................................................................................... 3 2.1.2 超链接 ....................................................................................................................................................................... 3 2.1.3 URL ............................................................................................................................................................................. 3 2.2 Dreamweaver8.0简介 ......................................................................... 4 2.3 Adobe Photoshop简介 ........................................................................ 4 2.4 开发语言简介 ............................................................................... 5 2.4.1 VBScript脚本语言 .................................................................................................................................................. 5 2.4.2 JavaScript简介 ...................................................................................................................................................... 6 2.4.3 PHP和MySQL简介 .................................................................................................................................................... 6 2.5 博客系统开发技术 ........................................................................... 8 2.5.1 ASP.NET介绍 ............................................................................................................................................................ 8 2.5.2 数据库的选择 ........................................................................................................................................................... 9 2.5.3 MVC开发模式 ....................................................................................................................................................... 11 2.5.4 Ajax介绍 ................................................................................................................................................................ 11
第3章 博客系统分析设计 ................................................................... 14
3.1 系统设计方案 .............................................................................. 14 3.1.1 系统功能模块 ......................................................................................................................................................... 14 3.1.2 系统功能需求描述 ................................................................................................................................................. 15 3.1.3 博客系统功能简图 ................................................................................................................................................. 15 3.1.4 数据库需求分析 ..................................................................................................................................................... 16 3.2 系统操作流程 .............................................................................. 17 3.3 组件和样式分析 ............................................................................ 18 3.5 用户控件 .................................................................................. 18 3.6 博客系统预期的结果 ........................................................................ 18
III
西南科技大学高等教育自学考试(信息管理与服务)毕业论文
3.7 界面设计 .................................................................................. 19 3.8 数据库设计 ................................................................................ 20 3.8.1 数据表设计 ............................................................................................................................................................. 22 3.8.2 数据库访问 ............................................................................................................................................................. 24
第4章 博客系统的实现 .................................................................... 26
4.1 博客前台页面设计实现 ...................................................................... 26 4.1.1 首页面 ..................................................................................................................................................................... 26 4.1.2 博文界面完成效果 ................................................................................................................................................. 29 4.1.3 相册界面完成效果 ................................................................................................................................................. 30 4.1.4 留言界面完成效果 ................................................................................................................................................. 32 4.2 博客系统后台设计实现 ...................................................................... 34 4.2.1 后台登陆页面 ......................................................................................................................................................... 34 4.2.2 后台功能管理菜单 ................................................................................................................................................. 36 4.3 博客系统的测试 ............................................................................ 39 4.3.1 博客系统的具体测试 ............................................................................................................................................. 39
结 论 ................................................................................... 40 致 谢 ................................................................................... 41 参考文献 ................................................................................. 42
IV