Do you want to develop hybrid applications but don't know where to learn about it? Are you trying to understand the difference between Apache Cordova and PhoneGap? Or perhaps you wonder where you can get started with IBM Worklight? In this blog post I hope to help answer these questions.
What's the difference between Cordova and PhoneGap?
mobile application is called a hybrid application.
Cordova is an open source distribution of PhoneGap. You may see references to both Cordova and PhoneGap and may see their names used alternately. You can think about Cordova’s relationship to PhoneGap like Linux’s relationship to Ubuntu or CentOS.
Why use Cordova?
There are a couple of reasons why you might want to use Cordova to build a mobile application:
- You want to be able to deploy the application through one or more mobile application stores, such as the Google Play, the Apple App Store and so on.
- You want to build a mobile application reusing your web development skills but you need to reuse device-side features (such as the camera or the accelerometer) that are not supported by the mobile browser.
- You want to build a quick prototype of a mobile application and you don’t have time enough to learn Java or Objective-C.
IBM Worklight and Cordova
Getting started with IBM Worklight and Cordova
I advise you to use Worklight V6.0 to build, test, deploy and manage your smartphone and tablet apps for iOS, Android, Blackberry and Windows Phone devices. There is a Getting started with IBM Worklight V6.0 guide that has self-paced modules (PDF files), exercises and sample code.
If you want learn how to use Apache Cordova with IBM Worklight and how to use native pages in hybrid applications, I advise you to go directly to section 6: Adding native functionality to hybrid apps with Apache Cordova.
I recommend that you use this guide if you want to get started with IBM Worklight and Cordova, and if you know about other useful tutorials, please share them in the comments below.
Do you like IBM Worklight and Cordova for building hybrid applications? Please leave a comment or connect with me on Twitter.
Kleber Rodrigo de Carvalho is a software engineer for IBM Brazil. Follow Kleber Carvalho on Twitter at @Kleber_Carvalho.