慧生活平台的搭建与维护

 2022-06-09 10:06

论文总字数:29317字

摘 要

随着信息技术的不断更新,互联网已经无处不在,渗透进各行各业里。慧生活是一个基于OTT,SNS,O2O的智慧社区功能平台,围绕OTT系统架构,提供了一系列的互联网应用服务。慧生活门户网站是慧生活平台的一部分,属于Java Web应用,由前端、后台、服务端(后端)构成。前端由公司H5开发人员负责,我负责后台和服务端的开发和维护。门户网站的服务端由JFinal框架搭建,后台管理网页由Layui编写,使用Ajax和Json技术进行前后端的数据交互。本文首先介绍了慧生活平台所使用的主要技术,并通过与其他相关技术的比较与分析,确定最终方案。其次对方案进行具体设计和实施,由需求分析入手,分析慧生活门户网站所提供的主要功能;然后根据需求分析进行系统设计,包含数据库设计和模块设计等。数据库包含用户登录、产品中心、合作伙伴等11个表,将后台模块根据包含字段的不同分为基本类型、含图片、含视频、含富文本、特殊类型的五种;接着根据设计文档编写相关功能模块的代码。编码部分,主要介绍典型模块的代码逻辑与相关知识点。最后通过设计测试方案,确定最终效果是否与预期相符,完善方案。

关键词:慧生活,互联网应用,JFinal,Layui,Ajax,Json

Abstract

With the constant updating of information technology, the Internet has become ubiquitous and has penetrated into all walks of life. Hui Life is a smart community function platform based on OTT, SNS and O2O. It provides a series of Internet application services around the OTT system architecture. Hui Life Portal is part of the Hui Life System and it belongs to the Java Web Application. It consists of the front end, back-end pages, and service side(back end). The front end of the official website is the responsibility of the company's H5 developers. I am responsible for the development and maintenance of the back-end pages and server side. The server end of the portal is built by the JFinal framework. The back-end pages are written by Layui and uses Ajax and Json technology to perform data exchange between the front and server ends. This article first introduces the main technologies used by the Hui Life Platform, and determines the final plan through comparison with other related technologies. Second, we get on the specific design and implementation of the program, and analyze the main functions provided by the Hui Life Portal from the demand analysis. Then according to the demand analysis, we carry out system design, including database design and module design. The database includes 11 tables such as user login, product center, and cooperative partner. According to the included fields, the background module contains five types as basic fields type, type including pictures, type including video, type including rich text, and special type. Then according to the design document, we write the relevant function module code. The coding part mainly introduces the code logic and related knowledge points of typical modules. Finally, through the design of the test program, we determine whether the final results are in line with expectations to improve the plan.

KEY WORDS :Hui Life, Java Web, JFinal, Layui, Ajax, Json

目 录

摘要 I

Abstract II

第一章 绪论 3

1.1 选题背景 3

1.1.1 社会环境 3

1.1.2 课题确定 3

1.2 课题意义 2

1.3 课题关键及难点 2

1.4 论文结构 2

第二章 技术介绍 3

2.1 JFinal框架 3

2.1.1 系统架构 3

2.1.2 框架特点 3

2.2 Layui框架 5

2.3 Mysql数据库 5

2.3.1 Mysql简介 5

2.3.2 Navicat简介 6

2.3.3 存储引擎介绍 6

2.3.4 数据库优化 6

2.4 Ajax请求与Json数据处理 7

2.5 方案比较与选择 9

2.5.1 服务端 9

2.5.2 客户端 9

2.5.3 数据库 10

第三章 慧生活门户网站需求分析与系统设计 11

3.1 需求分析 11

3.2 系统设计 13

3.2.1 原型设计 14

3.2.2 数据库设计 14

3.2.3 模块设计 15

第四章 慧生活门户网站模块实现 17

4.1 前端模块的实现 17

4.2 后台模块的实现 17

4.2.1 基本配置 17

4.2.2 用户登录 18

4.2.3 商务咨询 19

4.2.4 政策解读 21

4.2.5 案例典型 22

4.2.6 其他模块 23

4.3 接口的实现 23

4.3.1 Index接口 23

4.3.2 APP下载中心 24

4.3.3 其他接口 24

第五章 测试 25

5.1 测试方案 25

5.2 门户网站接口测试 25

5.2.1 Index接口 25

5.2.2 Product接口 26

5.2.3 Information接口 26

5.2.4 AboutUs接口 26

5.3 门户网站后台测试 28

5.4 门户网站前端测试 29

第六章 总结与展望 31

6.1 总结 31

6.2 展望 31

致谢 32

参考文献 33

绪论

选题背景

社会环境

相信对程序员来说,这四个词都不会太陌生:互联网 ,大数据,云计算,人工智能。虽然近年来云计算的热度有所下降,但是这四个词基本就是当今计算机软件行业最热门的四个领域了。自从2012年11月易观第五届移动互联网博览会上,易观国际董事长兼首席执行官于洋首次提出“互联网 ”概念以后,我国的互联网技术正在持续不断的发展中。“互联网 ”是什么?与传统的互联网概念有所不同,“互联网 ”不仅仅是单纯的将网络技术应用于互联网层面,而是将互联网技术与传统产业相结合,应用到交通、生活、物流等各个层面,最后走向智能生活,智能交通,智能城市。在这个信息技术迅猛发展的时代,无所不在的网络,无所不在的数据,无所不在的计算,让“互联网 ”的概念深入人心。

这样的社会环境,带动的是互联网产业的欣欣向荣。过去几年,国内互联网产业的核心是“消费”。国内三大互联网企业领头羊百度、腾讯、阿里占据着互联网消费市场中极大的份额,在为互联网产业的发展带头冲锋的同时,对人们消费观念的转变也具有极大的影响力。而近年来由于移动互联网的快速发展,人们使用网络已经越来越方便,互联网的主体人群渐渐从个人蔓延到企业。与此同时,随着多样化的智能移动终端几乎普及至每个人,消费型互联网已经渗透进各行各业中,人们的消费需求基本可以得到满足,所以国内互联网用户的同比增长率已经缓慢下降并逐渐趋于稳定,消费型互联网的格局已经大致形成且短时间内也不会有太大的变化。

剩余内容已隐藏,请支付后下载全文,论文总字数:29317字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;