基于微信小程序的新闻客户端设计和开发

 2022-01-17 11:01

论文总字数:25385字

目 录

第1章 绪论 1

1.1 项目背景和意义 1

1.2 国内外发展的现状 1

1.3 本文的主要研究内容 2

1.4 论文结构 2

第2章 相关理论和技术分析 3

2.1 微信小程序 3

2.1.1 微信小程序概述 3

2.1.2 微信小程序开发环境 3

2.1.3 微信小程序框架 4

2.1.4 微信小程序组件和API 5

2.2 微信小程序的SSHE框架 6

第3章 需求分析与设计 6

3.1 需求分析 6

3.1.1 可行性分析 7

3.1.2 系统用户角色设计 8

3.1.3系统需求分析 9

3.2 系统总体设计 11

3.2.1 系统物理设计 12

3.2.2 系统项目结构设计 12

3.3系统功能模块的设计 14

3.3.1用户登录模块 14

3.3.2新闻文本资讯设计 15

3.3.3 新闻视频资讯设计 15

3.3.4 我的小说模块设计 16

3.3.5 我的电影模块设计 17

3.3.6 我的收听模块设计 17

3.3.7 我的中心模块设计 18

3.4 系统接口设计 18

3.5 系统界面设计 18

3.6 本章小结 19

第 4 章 系统实现与测试 19

4.1 系统测试目的与原则 19

4.2 首页新闻列表及详情界面 20

4.2.1 新闻列表功能设计 20

4.2.2 新闻的模糊搜索 21

4.3 新闻详情界面设计 22

4.4 视频播放功能模块 23

4.4.1视频播放列表 23

4.4.2 视频详情页面及弹幕功能实现 24

4.5电影与小说功能模块 24

4.5.1我的小说搜索 24

4.5.2 我的电影 26

4.6 我的个人中心模块 27

4.7 我的收听模块 28

4.8系统评分 28

第5章 总结和展望 29

5.1 总结 29

5.2 展望 29

参考文献 30

致谢 31

基于微信小程序的新闻客户端的设计与实现

徐业强

, China

Abstract: In the background of media diversification and social enrichment, the form of the news media has changed greatly, not only to meet the basic functions of the users, but also to realize the social nature of the news media.In the process, the concept of new media is pouring into people's daily life. Compared with the traditional media such as newspapers and TV, the biggest feature of the new media is to get the convenience of the news. Whether it is through WeChat, or through micro-blog, or through some portal, we can get the news information we want to inquire. Among the multimedia, WeChat has made it possible for WeChat based news small programs to be designed and developed because of its massive user and social features.The design and implementation of news client based on WeChat mini program can maximize the effectiveness and real-time performance of news news users. In addition to the bloated occupancy of the traditional news app application in the memory of the mobile phone, the WeChat mini program is an application based WeChat, that does not need to be downloaded and installed, so for developers, it also avoids the maintenance cost of the news app cross platform, and reduces the cost of human power and time. For users, the WeChat mini program has an independent ecology, which brings excellent experience for the seamless use of cross platform applications, in which the application interface is more abundant and the cost of use is lower than the original app. The implementation of this system adopts the wxml architecture, and the development of the WeChat mini program is mainly used for the development of the client. During the development process, a lot of third party tools provided by WeChat, such as WeChat map, WeChat sweep and third party data source API, will be invoked. The information interaction between the front end of the WeChat mini program and the third party server side, using the Json data format for data transmission, and using the Memcache cache system to speed up the access to the database

Key words: news client;WXML; WXSS;JavaScript; WeChat mini program.

第1章 绪论

1.1 项目背景和意义

在今年年初,微信小游戏“跳一跳”风靡朋友圈网络,朋友圈步数排行榜成为人们竞相游戏的动力,依据于微信社交网络的微信小游戏和小程序成为了app开发的一种潮流[1]。微信小程序服务获取方式的门槛相较传统APP开发较低,它利用大量线下用户触点,最大化的利用用户群的社交丰富性获得流量。具体来看,微信小程序的现有功能主要包括以下方面:1、完善能力,组件上实现了各种丰富接口,通过微信把手机的能力和对移动互联网的体验打包给用户;2、场景流量,商品和用户通过微信连接起来,创造了巨大的使用流量;3、小程序能力功能的提高,小程序加载能力比较H5开发提升了20%;4、互通能力,小程序可以使用微信账号联合登录,微信用户的数据可以和开发者已有的App后台的用户数据进行联通[2]。微信推出的小程序,给一些优质服务提供一个开放的平台,我们每一个人都可以参与进去丰富内容,实现其自己所设想的功能,提高生活的便利和质量。

在我们日常生活中,新闻资讯与我们息息相关,我们每天都会去了解最新的消息。在我们日常生活中主要有两种模式渠道来浏览新闻,一是报纸、电视新闻和广播等传统媒体;二是类似于今日头条和网易新闻等新闻APP[3],而微信小程序的出现和发展为新闻应用开发提供了第三种更好的可能。相较于传统的媒体信息媒介,新媒体可以便捷的实现搜索查询的功能,而又相较于基于Android和IOS平台的新闻APP应用,基于微信小程序的新闻客户端实现了新闻应用跨平台的便捷,它是基于微信框架内的程序应用。此外微信小程序开发周期短,较低的时间和人力成本赋予了小程序突出优点。正因为微信小程序的种种优点,出于用户的开发商的需求,传统APP应用移植到微信小程序上来已成为一种潮流趋势。

1.2 国内外发展的现状

2017年1月9日,微信团队负责人张小龙正式发布了微信小程序。这是一种基于微信框架内的云应用,因此用户不需要下载安装即可使用,用户通过扫一扫小程序的二维码或搜一下小程序的名称即可打开应用[4]。根据目前资料显示小程序的使用用户数达到1.7亿,其中,三、四城市用户数达到50%。已经上线的小程序数量为58万。

用户可以在微信的发现模块中点击小程序获取,或者在主界面搜索框中搜索相应的小程序进行使用。微信小程序的类型和种类繁多,且开发者可以自行发布自己编写的微信小程序,这与传统手机APP开发模式不同,所有的微信小程序都有一个最大的特点,就是体积小,方便了用户使用和管理。因为微信小程序体积非常小,从云端加载并不耗费许多流量和时间。小程序更像是一个便携式U盘,当用户需要使用的时候,可以随手调用小程序,处理的数据会保留在第三方服务器中,关闭小程序对原有的系统不会产生影响[5]

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

相关图片展示:

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

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