PhoneGap: What Is Good And What Is Bad
Based on the report contributed by MobiDev to iForum 2013, written and presented by our leading PhoneGap specialist Yuriy Luchaninov.
But there are developers who dedicated their activities solely to PhoneGap development, and they study the subtleties of this cross-platform framework. There's no universal solution, neither in native development, nor in cross-platform development. Everything depends on the software project; and these subtleties can help decide whether PhoneGap should be chosen as the platform for the project.
If the default API is not enough, PhoneGap Plugin API will allow to write a code, which implements the lacking functionality. This code is written on the native programming language, which is specific to each peculiar platform.
3. API for writing native plugins;
Thus PhoneGap allows to build a service-oriented, single-page HTML5 application.
99% of PhoneGap development is layouting and JS-coding with consideration for the environment peculiarities (a mobile device, limited processing power, memory, touchscreen etc.) and browsers. During PhoneGap development one needs to consider the specificity of each platform, its default browser (which has webView based upon it). PhoneGap is demanding, when it comes to architecture and optimization. User interface has to be optimized for each platform; that's why specifying the target platforms will affect the time spent on the project.
We have previously touched upon the issue of PhoneGap, and outlined four major problems while building a responsive app on PhoneGap: the 300 millisecond lag, the problem of touching, DOM structure optimization and long lists. And we have suggested solutions for these problems. Thus we reached a conclusion that the 'weak points' of PhoneGap are basically technical specificities, which should be treated as such.
To conclude, here are several useful tips on PhoneGap development - to save time and avoid frustration: