Font Size: a A A

The Research And Development Of PhoneGap Oriented Mobile Middlewear

Posted on:2017-04-28Degree:MasterType:Thesis
Country:ChinaCandidate:S DuFull Text:PDF
GTID:2348330518993523Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Mobile Internet,mobile applications are playing an increasingly important role in people's production and life.As for developers many of them start to developping mobile applications.In the most popular development models,the hybrid development way is becoming increasingly important,because of its advatages of superior application performance and low cost.Nowdays,PhoneGap,APP Can and Titanium are the most three popular third party framework,among them PhoneGap becomes the best for its strong performents.Although PhoneGap is an excellent open source framework,but it also has some shortcomings,for example,PhoneGap doesn't have a cache module for network traffic,which makes the network traffic consumption large,and if a specific feature of the mobile application is required,developers still need to manually develop the native plug-in for PhoneGap,which has become the largest problem of cross-platform property of PhoneGap.Besides,the lack of efficient prioritization scheme also leads a poor performents of PhoneGap applications.In the view of this situation,this paper aims to put forward an extensional optimized PhoneGap framework,and an optimization scheme of PhoneGap application.First of all,this paper deeply analyzed the framework,the principle of cross-platform property and communication mechanism between Web JavaScript and local API of PhoneGap,as well as its plug-in development mode and other related mechanisms of PhoneGap.Besides,the method and principle of Ant to packging and the progromme of fast cache as well as the related technologies of plugins to be extended are studied.Secondly,this paper improved the internal logic process of Android PhoneGap framework and a cache module was added into the frame to reduce PhoneGap network traffic consumption.For the deficiency of PhoneGap plugin functions,this paper did a research on the commonly used and difficultly developed modules,some modules such as QrCode scanning and PDF reading are develpoed into PhoneGap plugin form,which are packaged into the PhoneGap framework using Ant packaging technology.After above all an extended PhoneGap framework was fromed,which could be used by developers directly.Finally,based on the extended PhoneGap framework and the national digital mobile library project,this paper developed a digital mobile library APP,which proved the stability and availability of plug-in functionality of the extended PhoneGap framework.a perfect functional testing and performance testing for the extended PhoneGap framework via the digital mobile library APP has been conducted,through which proved the practicability and superiority of the extended PhoneGap.,This paper also did a series of comprehensive testings for the cache module of the extended PhoneGap framework,which verified its performance and necessity.Through the sum-up of problems and slutions during the development,an optimization scheme of PhoneGap application has been proposed and applied into the gital mobile library APP.After comparing the performance of this APP before and after optimization,the validity and correctness of the scheme are obtained.
Keywords/Search Tags:Phonegap, Cache, QR code bar code scanning, PDF reading, Optimization scheme of PhoneGap
PDF Full Text Request
Related items