摘要:本系统采用Eclipse作为开发工具,数据库基于MySQL,服务器的编写使用的是PHP语言,开发了基于Android平台开的C/S模式的手机微博系统。系统从符合操作简便、界面友好、使用灵活、实用安全的要求出发,完成了用户的注册和登录,更换签名头像,发表微博,发表评论,微博列表,关注和粉丝模块和及时消息提醒功能。该论文首先介绍课题背景,阐述开发目的。其次对设计进行需求分析,然后再介绍了该应用的体系结构;同时,介绍了相关技术和部分代码。该论文在介绍数据库方面时从概念结构设计和逻辑结构设计两方面阐述的。最后介绍了设计的部分主要代码和测试案例等。58339
毕业论文关 键 词:微博,MySQL数据库,C/S模式,PHP
Abstract:This system uses Eclipse as the development tool, with database using MySQL , with the server writted by the PHP language to develop the c/s model and mobile microblog which is based on Android platform.From the point of view the simple,friendly interface, flexibility, practicability and safety , the system complete the users’ registration and login, replacing the signature picture, publishing microblog, commentting, microblog list, paying attention to others and becoming other’s fan and timely news update.Firstly this paper introduces the subject background, elaborate development purposes. Secondly, this paper introduces the needs analysis, and then introduces the architecture of the application,at the same time, introduces the relevant technology and part of the code. This paper describes the databases from the conceptual design and logical structure design aspects set forth herein. Finally, the design of some of the major code and test cases and so on.
Keywords:Micro-blog,MySQL database,C/S mode,PHP
1 前言4
1.1 课题来源4
1.2 选择开发模式4
2 开发环境4
2.1 C/S系统介绍4
2.2 Android简介5
2.3 PHP语言简介5
2.4 PHP开发环境5
2.5开发框架Hush Framework简介5
3 需求分析6
3.1 技术需求分析6
3.2 可行性分析6
4 概要设计7
4.1 实例产品设计7
4.2 数据库设计12
5详细设计16
5.1 程序架构设计16
5.2 服务端开发28
5.3 异步任务30
6 测试运行情况31
6.1 服务端压力测试31
6.2 数据库测试32
6.3 安全性测试33
6.4 测试用例33
6.5 系统维护33
6.6 测试总结34
6.7 程序有待改进方面34
结 论35
参考文献36
致 谢37
1 前言
1.1 课题来源
自2010年以来,中国互联网领域最火的关键字莫过于“微博”二字,这种新兴媒体工具现在已经广泛的被广大用户运用,并且正在慢慢的改变着我们接受信息的习惯。随着微博功能的不断扩展和完善,微博已融入了社会的各行各业,并且发挥着越来越大的作用。今天我们使用微博进行信息的传递,具有报纸、杂志无法比拟的优点,如:用户发布信息方便、存储信息量小、数据库可靠性高。这些优点能够促进信息的快速传播。[8] php+mysql基于Android的手机微博应用开发:http://www.lwfree.com/jisuanji/lunwen_63242.html