Overview of PhoneGap
Before we get to what
PhoneGap is all about, let’s take a look at the category it falls into – Cross
platform app development. Cross platform app development is quite simply the
utilization of various technologies in order to develop a single mobile
application that can run on multiple platforms (iOS, Android, Windows, etc.)
simultaneously. Given the current craze for mobile apps across all the major
mobile platforms, cross platform (also known as multi-platform) app development
is gaining more and more popularity as a one-stop solution.
PhoneGap is one such
cross platform mobile app development tool and is making the rounds globally in
terms of both popularity and critical acclaim. So, what is it about PhoneGap
that makes it different from the various other multi-platform app development
tools? Here is a breakdown of what PhoneGap can do for you and where it is
PhoneGap is an open
source framework for quickly building cross-platform mobile apps using HTML5,
Build your app with web technology Wrap your app with PhoneGap Deploy to mobile
Apache Cordova is an
open-source mobile development framework. It allows you to use standard web
development, avoiding each mobile platforms' native development language.
Applications execute within wrappers targeted to each platform, and rely on
standards-compliant API bindings to access each device's sensors, data, and
Benefits of PhoneGap
From the perspective
of both developers and app owners, PhoneGap offers several advantages over
native app development. While the battle of native app development vs. cross
platform app development is a never ending one, each field has its own distinct
advantages and disadvantages that we will cover later. For now, here is a look
at how PhoneGap can help developers and app business owners.
Supported platforms -:
Advantages of PhoneGap -:
•One code for all
(PhoneGap supports around 7 platforms)
•Rapid testing and
•Use of the vendor
specific market place to sell your products.
•Could do more
platform specific things on the device than its default browser (website).
•Most of them are
open source with lot of plugins and support to the community.
Disadvantages of PhoneGap -:
compared to its native counterpart.
•Even though you have
lot of plugins, there isn’t for everything. So, If you have to use something
which doesn’t have one then you got to build it from scratch. That is going to
take a lot of time.
support similar functionalities not identical, building for all of it is even
Below are a few issues we ran into
while developing apps with PhoneGap:
issues (DOM manipulation, data manipulation)
· CSS is not the best
substitute for native effects and animations
· Apps that require rich
animations and/or effects tend to be choppy and unresponsive (because usually
· No possibility of
creating background services
· At times, the
documented features of PhoneGap don't work as they should
· Having a lot of
graphical assets on your app can cause the performance to drop and, in worst
case scenarios, even kill the app with a "memory limit reached" error
· Each platform has its
own webview that differs depending on the version and when targeting older
devices some inconsistencies may become apparent
· Not all native features
are accessible through the Cordova platform