论文总字数:26914字
摘 要
随着云计算技术的发展,越来越多基于互联网的公司项目应运而生。对于企业级别的项目来说,小公司常常会为了节省项目开发成本,选择专业公司所提供的SaaS项目作为运营的基础;对于个人来说,SaaS服务也逐渐成为生活中不可缺少的一部分,例如邮件服务和在线笔记服务,这些都为企业发展速度和个人生活质量带来了极大的提升。
企业现已开发出许多SaaS软件,由不同的团队进行日常维护,在管理上会耗费很多资源,用户使用多个服务的学习成本也很高。为了减少日常维护的资源浪费、提高监测管理的效率,企业将已有的、分散的SaaS整合到一起,形成了一个全新的SaaS系统。本项目则是基于Vue框架,为该系统设计并实现出一个简洁美观的前端界面,降低用户的学习成本,使原本复杂的系统对用户来说更易上手。
本文从前端相关技术出发,对SaaS自动化监测管理系统做出了需求分析,随后基于需求分析设计了本项目的具体功能和接口,最后使用相关技术,对项目完成了代码实现。主要分为登录注册、应用管理、运营管理、数据管理、个人信息和消息通知六个功能模块。本项目前端基于Vue框架,实现了MVVM的设计模式和单页应用的开发,使用JavaScript语言进行开发,利用vue-router对页面路由进行管理,而组件状态管理则由Vuex进行实现。开发时遵循了前后端分离的原则,使用API与后端进行通信,大大降低了前端代码的复杂程度,系统结构变得更加清晰,更有利于后期进行项目维护。
本项目完成了所有提出的需求,并在项目功能开发的基础上进行组件化开发,提升了代码的可复用性,同时进一步提升了项目的开发效率。
关键词:SaaS服务,Vue框架,单页应用,组件化
Abstract
With the development of cloud computing technology, more and more Internet-based company projects have emerged. For enterprise-level projects, small companies often choose SaaS projects provided by professional companies as operations to save project development costs; For individuals, SaaS services are gradually becoming an indispensable part of life, such as mail services and online note-taking services, which have greatly improved the speed of business development and personal quality of life.
The company has developed a number of SaaS software that are routinely maintained by different teams, which consumes a lot of resources in management, and the learning cost of users using multiple services is also high. In order to reduce the waste of resources for daily maintenance and improve the efficiency of monitoring and management, the company has integrated the existing and scattered SaaS to form a brand-new SaaS system. This project is based on the Vue framework, designed and implemented a simple and beautiful front-end interface for the system, reducing the user's learning costs, making the original complex system easier for users.
Based on the front-end related technologies, this thesis analyzes the requirements of SaaS automated monitoring management system, and then designs the specific functions and interfaces of the project based on the requirements analysis. Finally, using the relevant technology, the code is completed for the project, which is mainly divided into six functional modules for login registration, application management, operational management, data management, personal information and message notification. The front end of the project is based on the Vue framework, which implements the design mode of MVVM and the development of single-page applications. It is developed with JavaScript language. The vue-router is used to manage page routing, and component state management is implemented by Vuex. The development follows the principle of separation between the front and the back, and uses the API to communicate with the back end, which greatly reduces the complexity of the front-end code, and the system structure becomes clearer, which is more conducive to project maintenance in the later stage.
The project completed all the proposed requirements and componentized development based on the project function development, which improved the reusability of the code and further improved the project development efficiency.
KEY WORDS: SaaS service, Vue framework, Single page application, Componentization
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1研究背景 1
1.2发展及现状 1
1.2.1 SaaS服务发展现状 1
1.2.2 Vue框架发展现状 1
1.3研究意义 2
1.4论文组织结构 2
第二章 前端关键技术介绍 3
2.1前后端分离技术 3
2.1.1代码组织方式 3
2.1.2交互形式 4
2.1.3开发模式 4
2.1.4前后端分离意义 4
2.2 JavaScript 4
2.3 webpack 5
2.4 Node.js 5
2.5主流前端框架 6
2.5.1 Angular 6
2.5.2 React 7
2.5.3 Vue 7
2.6 Vue.js特性 7
2.6.1基本特性 7
2.6.2 MVVM架构模式 7
2.6.3组件化 8
2.6.4虚拟DOM 8
2.6.5其他特性 9
2.7 iView组件库 9
2.8本章小结 10
第三章 系统需求分析 11
3.1功能性需求分析 11
3.1.1登录注册验证模块 11
3.1.2应用管理模块 11
3.1.3运营管理模块 11
3.1.4数据统计模块 11
3.1.5个人信息模块 12
3.1.6消息通知模块 12
3.2非功能性需求分析 12
3.2.1安全性 12
3.2.2可靠性 13
3.2.3可维护性 13
3.2.4易用性 13
3.3本章小结 13
第四章 系统设计 14
4.1系统架构设计 14
4.2系统功能设计 15
4.2.1登录注册验证功能 16
4.2.2系统管理功能 16
4.2.3个人信息功能 17
4.2.4消息管理功能 17
4.2.5密码找回(重置)功能 18
4.3接口设计 18
4.4前端路由设计 20
4.5本章小结 21
第五章 系统实现 22
5.1系统开发环境 22
5.2登录验证功能实现 22
5.2.1免登陆 23
5.2.2找回密码 23
5.3系统管理功能实现 24
5.3.1应用管理 24
5.3.2运营管理, 25
5.3.3数据统计管理 26
5.4个人信息功能实现 27
5.4.1基本信息 27
5.4.2修改密码 28
5.4.3认证信息 28
5.5消息通知功能实现 28
5.5.1消息通知主界面 28
5.5.2未读消息数字通知 29
5.6本章小结 29
第六章 总结与展望 30
6.1全文总结 30
6.2展望 30
参考文献 32
致 谢 33
第一章 绪论
1.1研究背景
剩余内容已隐藏,请支付后下载全文,论文总字数:26914字
该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;