基于PhoneGap的跨平臺(tái)移動(dòng)應(yīng)用開發(fā)及其性能優(yōu)化
本文選題:PhoneGap 切入點(diǎn):跨平臺(tái) 出處:《西南石油大學(xué)》2015年碩士論文
【摘要】:本文通過分析目前移動(dòng)互聯(lián)網(wǎng)的最新的發(fā)展趨勢,指出當(dāng)前各個(gè)主流移動(dòng)平臺(tái)Android、IOS、Windows Phone技術(shù)互不兼容,無法融合,重復(fù)開發(fā)造成了人力和資源上的浪費(fèi),使移動(dòng)應(yīng)用的開發(fā)成本不斷上升。提出了移動(dòng)跨平臺(tái)框架PhoneGap能很好的解決上述移動(dòng)跨平臺(tái)問題,并對(duì)目前PhoneGap應(yīng)用的性能尚未有詳細(xì)的研究,對(duì)其性能優(yōu)化方案也未有過深入研究的情況下開展了本次論文工作。 首先,通過研究最新的HTML5、CSS3、jQuery Mobile和對(duì)移動(dòng)跨平臺(tái)開發(fā)框架PhoneGap的實(shí)現(xiàn)機(jī)理、通信機(jī)制、跨平臺(tái)原理進(jìn)行深入剖析,并分析影響PhoneGap性能瓶頸的影響因子,確立響應(yīng)時(shí)間成本模型函數(shù)和UI流暢度成本函數(shù),通過理論分析研究提出一套理論上優(yōu)化方案。 然后,應(yīng)用PhoneGap并實(shí)現(xiàn)了一個(gè)物流查錄單跨平臺(tái)應(yīng)用,其基于移動(dòng)多平臺(tái)構(gòu)建,支持Android、IOS以及WP8主流移動(dòng)平臺(tái)。配合HTML5、CSS3、JavaScript等新技術(shù)進(jìn)行綜合開發(fā),同時(shí)包含iOS、Android、WP8等三種風(fēng)格的視圖模板,使整體應(yīng)用外觀達(dá)到了原生的效果,同時(shí)也具有原生應(yīng)用的功能,配合為物流應(yīng)用設(shè)計(jì)的RESTful數(shù)據(jù)服務(wù)接口,滿足了移動(dòng)端需求和服務(wù)端需求。此外,針對(duì)物流行業(yè)特點(diǎn)設(shè)計(jì)了離線存儲(chǔ)和自動(dòng)同步機(jī)制,實(shí)現(xiàn)了離線應(yīng)用功能。 最后,通過對(duì)理論優(yōu)化方案優(yōu)化后的應(yīng)用和未優(yōu)化的應(yīng)用的對(duì)比分析,證明了經(jīng)過優(yōu)化后該應(yīng)用在iOS平臺(tái)上和Android設(shè)備上達(dá)到了原生應(yīng)用一樣的流暢,驗(yàn)證了之前提出的理論優(yōu)化方案的正確性和可行性。 本文對(duì)PhoneGap進(jìn)行了深入的剖析后針對(duì)PhoneGap性能進(jìn)行了一次詳細(xì)的研究和優(yōu)化,并通過實(shí)現(xiàn)一個(gè)跨平臺(tái)應(yīng)用來驗(yàn)證優(yōu)化方案,這在PhoneGap的研究還未有過,本文具有一定的前瞻性和創(chuàng)新性。
[Abstract]:Based on the analysis of the latest development trend of the mobile Internet, this paper points out that the current mainstream mobile platform Android IOSU Windows Phone technology is incompatible, unable to merge, and the repeated development has caused a waste of manpower and resources.The development cost of mobile application is rising.This paper puts forward that the mobile cross-platform framework PhoneGap can solve the problem of mobile cross-platform, and the performance of the current PhoneGap application has not been studied in detail, and the performance optimization scheme has not been thoroughly studied in this paper.First of all, by studying the latest HTML5 CSS3JQuery Mobile and the implementation mechanism, communication mechanism, cross-platform principle of the mobile cross-platform development framework (PhoneGap), and analyzing the influence factors that affect the performance bottleneck of PhoneGap, the paper analyzes the implementation mechanism, the communication mechanism and the cross-platform principle of the mobile cross-platform development framework (PhoneGap).The cost model function of response time and the cost function of UI fluency are established, and a set of theoretical optimization scheme is put forward through theoretical analysis.Then, a cross-platform application is implemented with PhoneGap, which is based on mobile multi-platform and supports Android iOS and WP8 mainstream mobile platform.Meet the needs of mobile and server.In addition, the off-line storage and automatic synchronization mechanism are designed according to the characteristics of logistics industry, and the offline application function is realized.Finally, through the comparison and analysis of the optimized application and the unoptimized application, it is proved that the application on iOS platform is as smooth as the native application on the Android device.The correctness and feasibility of the proposed theoretical optimization scheme are verified.After deeply analyzing PhoneGap, this paper makes a detailed research and optimization on the performance of PhoneGap, and implements a cross-platform application to verify the optimization scheme, which has not been studied in PhoneGap.This article has certain foresight and innovation.
【學(xué)位授予單位】:西南石油大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP311.52
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 張建雄;張垎;;移動(dòng)互聯(lián)網(wǎng)在物流行業(yè)的應(yīng)用研究[J];電信科學(xué);2010年10期
2 江瑜;金海波;;基于Web Service的第四方物流信息平臺(tái)架構(gòu)模型研究[J];工業(yè)技術(shù)經(jīng)濟(jì);2010年04期
3 劉平;;Android手機(jī)訪問服務(wù)器的一種數(shù)據(jù)交互方法[J];電子設(shè)計(jì)工程;2010年09期
4 方銳;;基于APPCAN平臺(tái)的Android手機(jī)電商客戶端的設(shè)計(jì)與實(shí)現(xiàn)[J];電子商務(wù);2012年11期
5 龔成瑩;邢敬宏;胡銀保;;基于JSON的Android移動(dòng)終端與PHP及MySQL數(shù)據(jù)通信[J];工業(yè)儀表與自動(dòng)化裝置;2013年01期
6 馬亞娜,錢煥延,孫亞民;用Cookie構(gòu)建Web安全的實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2002年11期
7 許卓明,栗明,董逸生;基于RPC和基于REST的Web服務(wù)交互模型比較分析[J];計(jì)算機(jī)工程;2003年20期
8 馬青霞;孫梅;;基于RESTFUL服務(wù)的分布式遺傳算法[J];計(jì)算機(jī)工程;2011年24期
9 羅軍舟;吳文甲;楊明;;移動(dòng)互聯(lián)網(wǎng):終端、網(wǎng)絡(luò)與服務(wù)[J];計(jì)算機(jī)學(xué)報(bào);2011年11期
10 凌曉東;;SOA綜述[J];計(jì)算機(jī)應(yīng)用與軟件;2007年10期
,本文編號(hào):1711729
本文鏈接:http://sikaile.net/guanlilunwen/wuliuguanlilunwen/1711729.html