基于Flutter開發(fā)框架的數據存儲訪問機制研究
2022年電子技術應用第8期
倪紅軍,,周巧扣
南京師范大學泰州學院,,江蘇 泰州225300
摘要: 移動端應用程序需要存儲與訪問的數據越來越多,,而移動端設備的存儲空間有限,,很難滿足用戶需要,在進行移動端應用程序開發(fā)時,,選擇合適,、高效的數據存儲與訪問機制受到普遍關注。針對Google推出的Flutter跨平臺移動開發(fā)框架提供的key-value鍵值對,、File文件、SQLite數據庫和網絡4種數據存儲訪問機制,,深入闡述了它們的內在工作原理,,給出了具體實現方法和實現代碼。最后,,根據4種數據存儲訪問機制各自的特點和實際的應用程序開發(fā)需求,,分析了每種機制的應用場景。
中圖分類號: TP399
文獻標識碼: A
DOI:10.16157/j.issn.0258-7998.212008
中文引用格式: 倪紅軍,,周巧扣. 基于Flutter開發(fā)框架的數據存儲訪問機制研究[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.
文獻標識碼: A
DOI:10.16157/j.issn.0258-7998.212008
中文引用格式: 倪紅軍,,周巧扣. 基于Flutter開發(fā)框架的數據存儲訪問機制研究[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 引言
隨著移動互聯網技術的快速發(fā)展,,用戶對應用程序的性能、體驗等各方面要求都有所增強,,例如需要在移動終端平臺上做數據緩存來縮短應用程序的響應時間,、打開應用程序后能夠及時連接網絡更新信息保證數據的即時性等。數據緩存主要涉及移動端設備的本地存儲和訪問的問題,,連接網絡及時更新信息主要涉及移動端與網絡后臺數據服務器進行數據交互的問題,,在Flutter應用開發(fā)中,這些問題是由Flutter開發(fā)框架的存儲訪問機制來解決的,,開發(fā)者對該機制的深入理解和合理使用會直接影響應用程序的開發(fā)效率和性能,,因此對Flutter開發(fā)框架的數據存儲訪問機制進行研究具有重要意義。
本文詳細內容請下載:http://forexkbc.com/resource/share/2000004661,。
作者信息:
倪紅軍,,周巧扣
(南京師范大學泰州學院,江蘇 泰州225300)
此內容為AET網站原創(chuàng),,未經授權禁止轉載,。