《电子技术应用》
您所在的位置:首页 > 可编程逻辑 > 设计应用 > 基于Flutter开发框架的数据存储访问机制研究
基于Flutter开发框架的数据存储访问机制研究
2022年电子技术应用第8期
倪红军,周巧扣
南京师范大学泰州学院,江苏 泰州225300
摘要: 移动端应用程序需要存储与访问的数据越来越多,而移动端设备的存储空间有限,很难满足用户需要,在进行移动端应用程序开发时,选择合适、高效的数据存储与访问机制受到普遍关注。针对Google推出的Flutter跨平台移动开发框架提供的key-value键值对、File文件、SQLite数据库和网络4种数据存储访问机制,深入阐述了它们的内在工作原理,给出了具体实现方法和实现代码。最后,根据4种数据存储访问机制各自的特点和实际的应用程序开发需求,分析了每种机制的应用场景。
中图分类号: TP399
文献标识码: A
DOI:10.16157/j.issn.0258-7998.212008
中文引用格式: 倪红军,周巧扣. 基于Flutter开发框架的数据存储访问机制研究[J].电子技术应用,2022,48(8):107-110,116.
英文引用格式: Ni Hongjun,Zhou Qiaokou. Study of data storage access mechanism based on Flutter development framework[J]. Application of Electronic Technique,2022,48(8):107-110,116.
Study of data storage access mechanism based on Flutter development framework
Ni Hongjun,Zhou Qiaokou
Nanjing Normal University Taizhou College,Taizhou 225300,China
Abstract: Mobile applications need to store and access more and more data, and the storage space of mobile devices is limited, it is difficult to meet the needs of users. When developing mobile applications, the selection of appropriate and efficient data storage and access mechanism is widely concerned. In view of the four data storage and access mechanisms provided by Google′s Flutter cross- platform mobile development framework, such as key-value pair, File files, SQLite database and network, this paper explains their inner working principles in depth, and gives the specific implementation methods and implementation codes. Finally, according to the characteristics of the four data storage access mechanisms and the actual application development requirements, the application scenarios of each mechanism are analyzed.
Key words : Flutter;data storage;implementation method;application scenarios

0 引言

    随着移动互联网技术的快速发展,用户对应用程序的性能、体验等各方面要求都有所增强,例如需要在移动终端平台上做数据缓存来缩短应用程序的响应时间、打开应用程序后能够及时连接网络更新信息保证数据的即时性等。数据缓存主要涉及移动端设备的本地存储和访问的问题,连接网络及时更新信息主要涉及移动端与网络后台数据服务器进行数据交互的问题,在Flutter应用开发中,这些问题是由Flutter开发框架的存储访问机制来解决的,开发者对该机制的深入理解和合理使用会直接影响应用程序的开发效率和性能,因此对Flutter开发框架的数据存储访问机制进行研究具有重要意义。




本文详细内容请下载:http://www.chinaaet.com/resource/share/2000004661




作者信息:

倪红军,周巧扣

(南京师范大学泰州学院,江苏 泰州225300)




wd.jpg

此内容为AET网站原创,未经授权禁止转载。