校园微博系统的设计毕业论文

 2021-04-12 04:04

摘 要

自从人类文明迈入二十一世纪,互联网与信心技术易难以置信的速度渗入各种各样的传统行业的同时也催生出许多新的产业。各种功能各异的WEB应用以一种新的产品形式映入广大群众的眼帘。注重人与人关系的各类的社交软件则成了web应用中的宠儿。这些WEB应用以网络的方式拉近了人与人之间的距离是人类史上第一次实时的立体的把一个人的生活动向分享给别人。本系统就是为了拉近校园内的学生距离,为了方便学校内的学生相互了解彼此而设计的。本系统可以让用户发表自己的心情,和大家分享自己的生活。

本系统使用ruby这一程序设计语言作为后台开发的语言。在框架方面选择的是Ruby On Rails网络快速开发框架。关于数据库本系统选择了Sqlite3作为数据库。在前端方面本系统选择了JQuery作为前端框架和Bootstrap作为前端UI库,使用Ajax发送异步请求。本篇论文首先介绍了校园微博系统的背景意义,研究现状及发展趋势,其次分析了校园微博系统的基本功能需求。然后说明了系统的整体层次划分、模式的选择和数据库的设技以及如何使用Ruby语言和Ruby on rails 框架实现本系统。最后介绍一下本系统是如何进行测试的。

关键词:校园微博系统;Ruby;Rails;Ajax; Bootstrap

Campus Micro-Blog System

ABSTRACT

Since human civilization entered the twenty-first Century , the Internet and information technology have infiltrated many different traditional industries at an incredible speed, and have spawned many new industries. WEB applications with different functions appeal to the masses in a new form of products. All kinds of social software that focus on human relationships have become the darling of web applications. These WEB applications in the network to close the distance between people, is the first time in human history, three-dimensional, to share a person's life trends to others. The system is designed to narrow the distance between students in the campus, and to facilitate the students in the school to understand each other and design. The system allows users to express their feelings, and share your life.

This system uses Ruby this programming language as the backstage development language. In the framework, the rapid development framework of Ruby On Rails network is chosen. About the database, the system chose Sqlite3 as the database. In the front end, the system selects JQuery as the front-end framework and Bootstrap as the front-end UI library, using Ajax to send asynchronous requests. This paper first introduces the background, significance, research status and development trend of campus micro-blog system. Secondly, it analyzes the basic functional requirements of campus micro-blog system. Then it explains the whole system hierarchy division, the choice of schema and the database design technology, and how to use Ruby language and Ruby on rails framework to realize the system. Finally, introduce how this system is tested.

Key words:Campus Micro-Blog System;Ruby:Rails:Ajax;Bootstrap

目 录

第一章 绪论 1

1.1 课题研究背景和意义 1

1.2 国内外研究现状 1

1.2.1 国内研究现状 1

1.2.2 国外研究现状 1

1.3 论文研究内容及结构 2

第二章 相关技术 3

2.1 Ruby程序设计语言 3

2.2 Ruby on Rails 框架 3

2.3 SQLite数据库 4

2.4 JQuery前端框架 4

2.5 BootStrap UI框架 4

第三章 需求分析 4

3.1 系统功能 5

3.1.1 用户注册和登录功能 5

3.1.2 用户的更新 删除 显示 5

3.1.3 微博功能 5

3.1.4 关注 6

3.2 非功能性需求分析 6

3.2.1 硬件环境 6

3.2.2 软件环境 6

3.3 本章总结 6

第四章 系统设计 7

4.1 系统架构 7

4.1.1 整体架构 7

4.1.2 MVC架构 7

4.2 系统详细设计 8

4.2.1系统流程 8

4.2.2 用户模块 9

4.2.3 微博模块 9

4.2.4 系统功能总结 10

4.3 数据库设计 10

4.3.1 数据库概念设计 11

4.3.2 数据库逻辑设计 13

第5章 系统实现 15

5.1 环境搭建 15

5.1.1 操作系统 15

5.1.2 软件安装 16

5.2 系统目录结构 16

5.3 安装依赖 18

5.4 用户的注册和登陆 18

5.5 用户资料更新 24

5.6 微博功能 25

5.7 用户关注功能 29

5.8 管理员权限 31

5.9 本章小结 31

第6章 系统测试 32

6.1 功能测试 32

6.2 非功能性测试 33

6.2.1 GUI测试 33

6.2.2 性能测试 33

6.2.3 安全性测试 33

结 论 33

致 谢 35

参考文献 36

第一章 绪论

1.1 课题研究背景和意义

1.2 国内外研究现状

虽然在21世纪这个网络技术飞速发展的年代,人们的通信方式有了极大的化,网络已经变成了人与人之间沟通的载体。为了在大学校园中为了方便学生们相互了解,校园微博这一概念孕育而生。虽然大学内有很多的社团,但是很多大学生即使大学毕业了也不认识多少大学里的同学的情况认识普遍现象。校园微博的目的就在于为了能够使大学校园内的志同道合的学生能够相互认识相互了解丰富校园生活。

校园微博的意义是给在校大学生提供一个相互了解的平台,架起一座学生与学生之间沟通的桥梁。微博作为WEB应用它最大的优势就在于可以实时的发布动态,用户可以第一时间了解到自己关注的用户的动态。这是传统社交手段所无法完成的。

1.2.1 国内研究现状

微博在国内发展初期国内的两大微博主要是新浪微博和腾讯微博。但是随着腾讯把业务的关注点放在微信而导致的微博方面的不作为,国内微博基本上处于新浪微博一家独大的局面。但是虽然新浪微博作为国内微博的巨头,用户数量也一直处于上升的驱使,但是实际上他的很多功能和业务,都被微信瓜分的许多。所以新浪微博正值存亡之秋。

1.2.2 国外研究现状

国外类似微博的社交软件就异常的丰富如Twitter,Facebook,甚至包括Instagram等。Twitter作为全世界访问量前十的网站,是一个非常典型的微博社交类网站。你可以在推特上发布的动态,也会收到你的关注着的最新动态的提示。而Facebook作为另一个社交网站巨头,他更注重的是对于照片的分享和找人的功能

1.3 论文研究内容及结构

本文主研究的内容有用户的注册,登录,登录验证,用户权限验证,图片上传,动态流。用户模型,微博模型,关系模型。前后台的交互。正则表达式,Linux命令行。

您需要先支付 80元 才能查看全部内容!立即支付

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。