摘 要
我们正在进入“互联网+”时代,互联网与我们的生活密不可分,而随着互联网的进步与发展,人们开始在互联网上分享信息,分享学习,分享自己的心情。
基于丰富华农师生校园生活和促进交流沟通以及便于华农师生分享趣事的需求出发,本文设计了一个基于Web的华农趣事平台。系统使用了基于Yaf(Yet Another Framework)框架的PHP(Hypertext Preprocessor)作为后台开发语言和MVC(Model View Controller)架构模式,前端使用MVVM(Model-View-ViewModel)框架语言Vue.js实现完全的前后端分离。以Apache作为Web服务器,选择采用MySql数据库对数据进行存储,为了保证用户信息安全采用了MD5(Message-Digest Algorithm 5)安全加密技术。设计了普通用户使用的趣事平台和供管理员用户对普通用户使用的趣事平台进行管理和规范的后台管理系统。趣事分享平台主要分为趣事展示、趣事操作、用户空间和信息设置四个主要功能模块,而后台管理系统主要分为趣事管理、评论管理、用户管理和管理员管理四个功能模块。
普通用户可以注册登录平台,可以发表、评论、收藏、点赞趣事以及回复他人的评论,也可以进入自己的空间查看自己发表、收藏的趣事以及他人对自己评论的回复内容,同时也可以修改自己的个人信息。管理员可以在管理系统创建管理员,对普通用户以及普通用户发表的趣事和评论进行管理,另外也可以根据用户名、趣事内容和评论内容对用户、趣事和评论进行搜索。平台除了按要求完成之外还增加了功能优化了系统,但是仍然有可以优化提升的问题和地方存在,有待进一步完善和优化。
关键词:信息加密 趣事平台 Yaf框架 后台管理系统
Design and Implementation of the Web-based Fun Platform of SCAU
Abstract: We has arrived the "Internet plus" era, so the Internet is inseparable from our life, and with the progress and development of the Internet, people have begun to share information, share learning, and share their feelings on the Internet.
In order to enrich the teachers and students' campus life in South China Agricultural University and promote the communication and share fun, this paper designs a fun platform of SCAU. The system uses the YAF framework which based PHP (Hypertext Preprocessor) as the background development language and MVC (Model View Controller) schema model and use vue.js that is a front-end MVVM (Model-View-View Model) Framework language to achieve separation of front and rear ends and choose to use apache as a web server. In order to ensure the security of user information, it chooses to use the MySQL database to store data, and uses MD5 (Message-Digest Algorithm 5) Security Encryption Technology. The common users are designed to use the Fun Platform and the administrators can manage it. The open platform is divided into four main function modules, which are the interesting display, the fun operation, the user space and the information set up. The management system is also divided into four functional modules, which are fun management, comments management, users management and administrators management.
Ordinary users can register, login and publish, comment, collect, like and reply to other people's comments. They can enter their own space to view their own publish, collections of anecdotes and others comments on their replies to the content, but also can modify their personal information. Administrators can create administrators, manage the fun and comments made by ordinary users, as well as manage ordinary users in the management system. They can also search for users, anecdotes, and comments based on user names, funny content, and comments. In addition to the completion of the platform as required to increase the function of optimizing the system, but there are still some problems that need to be further improved.
Key words: information encryption fun platform Yaf framework background management system