Friday, January 27, 2017

Brief introduction to apache cordova

  • Cordova is an open source mobile app development framework that is primarily intended for web developers.
  • Its allow web developers to create mobile app using standard web technologies like HTML5, CSS3 and JavaScript. 
  • Even  you can used JQuery and JavaScript framework like Angularjs.
  • Using cordova you can  extend an  application across more than one platform like android,ios,windows and Blacberry.

Cordova has its pros and cons which as follows


  • Pros
    • Easy to learn - if you are web developer or you know basic HTML5,CSS3 and JavaScript you can learn easily and quickly. but you must familiarize yourself with the Command Line Interface (CLI) in order to running cordova.
    • Easy access to native functionality  - you can easily access device native capabilities such as Contacts,Camera,Media,Network and  Geolocation and many more. using cordova API's.
    • Free and Open source - Cordova is free framework for that you don't required to pay plus its open source so you can also used another developers custom plugin in your app. Or you can build your own plugin and share it with others.
    • Deploy Everywhere - Cordova compile your app into packages file,which supported by most app store. For deploying to android,cordova creates an APK file ,In IOS cordova complies IPA  and windows its APPX.
  • Cons
    • Slower in nature than native -  Apps built in cordova  basically web apps that are contained in a web view, they don’t perform as well as their native counterparts.
    • UI Frameworks - Cordova is wrapper for web application it doesn't come with user interface components,controls and animation that we found in native application. So that why many web developer are using Ionic and Onsen UI for  building UI for their applications.
    • Plugins - In cordova to interact with native functionality we are using plugins sometimes its work like charm but sometimes some device doesn't support same plugins.  


No comments:

Post a Comment

Cordova Push Notification Using Firebase & Onesignal Plugin

What is Push Notification Push notification is one of the best way to send messages to app user and its simplest way to reach to the a...