XXX 学校 2015 届毕业设计说明书
毕业设计说明书
基于 ThinkPHP 的个人博客系统
题目用一号黑体字,一行排
不下可排两行,居中。
学生姓名: 学号:
学 院:
系 名:
专 业:
指导教师:
2015 年 5 月
XXX
XXX
XXX
XXX
XXX
XXX
XXX 学校 2015 届毕业设计说明书
第 0 页 共 40 页
基于 ThinkPHP 的个人博客系统
摘 要
本文对博客的设计与开发过程进行了分析与叙述。依照系统开发的实际操作步骤,
文章从系统概述、系统分析、系统设计和系统实现这四大章节对系统开发过程进行分别
阐述。系统概述中主要进行了课题背景、课题意义和现状分析;系统分析中主要包括了
系统设计前的需求分析、业务流程分析、数据流程分析和数据字典分析;而系统设计则
是对系统体系结构、各功能模块、数据库结构设计等具体的系统实现过程进行剖析展示,
在系统设计章节中有详细的文字解释并配有表图说明。文章还列举了关键的功能模块实
现代码。
本文力求可以为博客的开发设计找到一种切实可行的解决方案,在分析了目前国内
外博客的现状的基础上,并经过反复摸索和学习研究后,借助编程语言 PHP 和 MYSQL 数
据库最终实现了博客的开发,并在一系列测试后,达成了人性化、所需功能完善、操作
清晰的设计目标。
关 键 词 : PHP , ThinkPHP,MYSQL , 博 客
XXX 学校 2015 届毕业设计说明书
第 1 页 共 40 页
Personal blog system based on ThinkPHP
Abstract
In this paper, blog system design and development process is analyzed and described. In
accordance with the actual steps of system development, the article from the system overview,
system analysis, system design and system realization of these four sections of the system
development process are described. System were the main issues outlined in the background,
meaning and status of the subject analysis; system analysis, system design includes a pre-needs
analysis, business process analysis, data flow analysis and data dictionary analysis; and system
design is the system architecture, various functional modules, database structure design to achieve
specific process to analyze the system display, the system design section to explain in more detail
and with a table diagram shows. The article also lists the key function module code
This paper seeks to blog system for development and design to find a practical solution in the
analysis of -B o at home and abroad on the basis of the status of the system, and after repeated
exploration and study after study, using PHP and MYSQL programming language Server database
and ultimately the blog system development, and in a series of tests, reached a user-friendly,
functional requirements, operations designed to clear
Key Words:PHP,ThinkPHP,MYSQL,Blog
XXX 学校 2015 届毕业设计说明书
第 2 页 共 40 页
目 录
第 1 章 概述 ...................................................................5
1.1 课题背景 ..................................................................5
1.2 课题意义 ..................................................................5
1.3 国内外研究现状 ............................................................6
第 2 章 系统分析 ...............................................................8
2.2 业务流程分析 .............................................................10
2.2.1 注册用户业务流程分析 ...................................................10
2.2.2 系统管理员业务流程分析 ..................................................10
2.2.3 游客业务流程分析 .......................................................11
2.3 数据流程分析 .............................................................13
2.3.1 用户管理模块 ...........................................................13
2.3.2 文章管理模块 ...........................................................13
2.3.3 相册管理模块 ...........................................................14
2.3.4 系统公告管理模块 .......................................................14
2.3.5 修改密码模块 ...........................................................15
2.3.6 文章发布模块 ...........................................................15
2.3.7 修改个人信息模块 .......................................................16
2.3.8 文章浏览模块 ............................................................17
2.3.9 文章评论模块 ............................................................17
2.3.10 相册浏览模块 ..........................................................18
2.4 数据字典 .................................................................18
2.4.1 数据项的描述 ...........................................................18
2.4.2 数据流的描述 ...........................................................20
2.4.3 外部实体的描述 .........................................................20
XXX 学校 2015 届毕业设计说明书
第 3 页 共 40 页
第 3 章 系统设计 ..............................................................22
3.1 系统体系结构设计 .........................................................22
3.2 系统子模块功能介绍 .......................................................22
3.3 数据库设计 ...............................................................23
3.3.1 数据库概念设计——E-R 模型..............................................23
3.3.2 数据库逻辑设计——关系模型 .............................................25
3.3.3 数据库表结构设计 .......................................................25
3.4 PHP 环境介绍 ..............................................................26
第 4 章 系统实现 ..............................................................28
4.1 首页面及主要页面设计 .....................................................28
4.2 功能模块的实现 ...........................................................28
4.2.1 首页模块的实现 .........................................................28
4.2.2 用户管理模块的实现 .....................................................29
4.2.3 日志管理模块的实现 ......................................................30
4.2.6 管理员模块的实现 ........................................................32
第 5 章 系统测试 ..............................................................34
5.1 测试目的 .................................................................34
5.2 测试方法 .................................................................34
5.3 测试结果 .................................................................34
第 6 章 总结 ..................................................................35
参 考 文 献 ..................................................................36
致 谢 .....................................................................37