We have put some serious critique on using Titanium for cross platform app development considering both the opinion of the community (which is not very shiny) and the opinion of our own Titanium development team, which has proven rather well. Usually whenever Titanium is discarded as preferred cross platform development technology, almost every solution architect thinks of Phonegap. Is this wise? Is Phonegap good enough to close the gaps left by Titanium? Let’s check…
What is Cordova/Phonegap?
The applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device’s sensors, data, and network status. Phonegap is great if you intend to develop a mobile web page and want to embed it in an app with a few more extra features and deploy it in the app store.
Cordova/Phonegap is used mostly:
- if a mobile developer wants to extend an application across more than one platform, without having to re-implement it with each platform’s language and tool set.
- if a web developer wants to deploy a web app that’s packaged for distribution in various app store portals.
- if a mobile developer is interested in mixing native application components with a WebView (browser window) that can access device-level APIs, or if need is to develop a plugin interface between native and WebView components.
What makes projects powered by Phonegap so unique?
Two basic workflows are supported for creating mobile applications using Cordova namely the Web Project Dev workflow used mostly when Cordova applications are to run on as many mobile operating systems as possible with little platform-specific development work and the Native Platform Dev workflow which is used mostly when intent is on building an application for a single platform and interest is on changing the lower-level platform details.
RECOMMENDED FOR YOU – The Recipe For Creating The Most Engaging Mobile App
Cordova applications are ordinarily implemented as a browser-based WebView within the native mobile platform but one can create their own WebView components that make full use of Cordova APIs, for supporting platforms. These can be deployed along with native components in a hybrid application.
What’s with Cordova and PhoneGap being used interchangeably?
This open source project incubating at Apache was renamed as Apache Callback, but later it was again renamed as Cordova.
Phonegap’s merits over Appcelerator
- More liberal license
- Support for more mobile platforms
Phonegap was created so that web developers could add/utilize all their existing skills and code from creating mobile web apps and add in functionality utilizing native features on the device. You can also access our detailed comparison between PhoneGap and Titanium for building native mobile apps.
What do you think?
Was the advent and the buzz created around Titanium just temporary before its inherent disadvantages got unveiled?
Do you think these insights are now profound and fail to showcase the true strength of Titanium once you master this technology and pass over few smaller peculiarities?
Spill your thoughts in the comment section below.