Introduction

Apache Cordova (known by many as “PhoneGap“) is the most widely used by developers to create native applications. Cordova/PhoneGap developers write their mobile applications using HTML, JavaScript and CSS. These assets run in a “WebView” within a native application container on the target platform. It is essentially a web application packaged within a native application container where your JavaScript has access to device-level APIs that normal web applications would not. These include such things as: The camera, accelerometer, LEDs, GPS etc.

Pros

  • Regardless of server side platform & language experience, a TON of developers have experience with HTML, JavaScript and CSS. Apache Cordova allows developers to immediately leverage existing skills. The value of this is enormous ‚ as it reduces training in a new language and can readily adopted.
  • Cordova apps install just like a native application, and are also able to gain app store discoverability.
  • Cordova is guided by a plugin architecture, meaning that access to native device APIs can be extended in a modular way (developers love this). There are a lot Cordova/PhoneGap plugins to choose from ‚ enabling developers to focus on the web-based skills they already have. (This is a weakness as well, more on this under cons)
  • Cordova is open source and free, so there are no licensing costs.

Cons

  • Being free is not a guarantee of success. In fact, the emergence of PhoneGap Build and Icenium are clear demonstrations that a —bare bones— Apache Cordova is incomplete. The strength of being open source ‚ and leveraging the talents of a wide array of contributors is both a blessing and curse. If you need to extend your app with a custom Cordova/PhoneGap plugin, odds are you will find one. Yet it may be out of date and not support the target platforms you need. This is a common problem among all freeware.
  • The plugin architecture works well if you can find the plugins you need or if your web developers are capable of changing gears to write their own custom plugin(s) as needed (like always). However, odds are that you chose Cordova, in part, to avoid the need for specialized native platform skills.
  • The performance of Cordova/PhoneGap apps has often been criticized. Native UI will always outperform a hybrid solution, but improvements in device hardware and WebView implementations have narrowed the gap. Web developers will need to pay close attention to performance, which means their knowledge of profiling tools as well as which web UI frameworks are mobile-friendly is essential.

Conclusion

As you can see the Pros definitely outweigh the cons, and it was difficult to find true cons. Most of them are true for most other development languages and environments, and are obstacles that separate the fake from true developers. Having just getting started with taking my web talents to Phone Gap in order to assist in my first app, I can tell you from experience it’s a pleasure to work with. Also, it’s already installed on Mac’s and can simply be activated (given that you have NodeJS installed) via terminal! Like with any new environment or development tool, do your own research and meet your own conclusions, but in the app development world, and having come from a Web Development background, there is no better choice.

Paul Weinert
Author

Paul Weinert is our founder, managing principal and spirit animal. He’s one of those odd people you meet that was born in Portland, grew up here and still lives here for some reason. If you had two words to describe Paul after meeting him, we’d bet you’d use “charmingly quirky”.

Paul started GRAYBOX in February 2009, and for the first four years, GRAYBOX had a blend of a contract staffing firm and a traditional agency. GRAYBOX then hired our first employees in 2012 and has been growing ever since. Professionally, Paul has a background in internet business consulting, working especially with mid-market ecommerce, healthcare, and tech companies. He worked as a user experience designer, web developer and internet marketer. Nowadays, Paul serves as our company visionary, team mentor and head of executive leadership — Paul is extremely proud of the entire team and the company. He’s constantly humbled by the team’s awesomeness and the caring community that’s sprung up from his initial ideas.

Beyond GRAYBOX, Paul is married, has two young boys and lives in NE Portland. He’s also an active foster parent, mentors other local entrepreneurs, and volunteers on local non-profit boards. Businesswise, aside from GRAYBOX, Paul has started a few other businesses and is an active investor in the local startup scene.

For the sheer joy of it, let’s play 2 truths and a lie:

  1. Paul firmly believes that any activity would be better if on a boat.
  2. Other than this whole Internet thing, Paul has basically no other skills or expertise in anything.
  3. Paul is rare unicorn, actually born and raised in Portland.