28
Creating native apps across devices in minutes Ankit Shandilya

Rhodes vs Phonegap

Embed Size (px)

Citation preview

Page 1: Rhodes vs Phonegap

Creating native apps across devices in minutes

Ankit Shandilya

Page 2: Rhodes vs Phonegap

Cell phones are the next major computing platform

Today's Smartphone have equivalent capabilities to high-end computers 5 years ago.

Paradigm shift from to convert major web apps to mobile apps.

Why mobile apps

Source : http://www.gigaom.com

Page 3: Rhodes vs Phonegap

Options for mobile appsWeb Apps Native apps

Use of advance browsers.

Requires very little knowledge related to device.

Works on all devices irrespective of OS.

Make use of device characteristics.

Potential to have offline capabilities.

Better usability coz’ its device specific.

Page 4: Rhodes vs Phonegap

Too many kinds of devices. Varied user interface styles: resolutions,

input modes. Very little penetration in enterprise

solutions like email.

Why native apps are less popular

Solution on next slide …

Page 5: Rhodes vs Phonegap

Rhodes

Rhosync

Rhohub

Rhogallery

Rhomobile Products

• Create client application

•Includes sync capabilities

• Build apps in cloud

• Managing your apps

Page 6: Rhodes vs Phonegap

Cross platform: write once, run on any device

Works anywhere: when connected, when disconnected

MVC : Model View Controller architecture

Rhomobile is better Rhodes Legacy Providers Other Framework

Support all Smart Phone Yes No No

Native UI Yes Yes Yes

App Language Standard Proprietary Standard

Model View Controller Yes No No

Barcode/Signature Capture Yes Yes No

HTML5 Yes No Yes

Support all OS Yes No No

MetaData Yes No No

Sync Yes No No

Native Push API Yes No No

Hosting Facility Yes No No

Source : www.rhomobile.com

Page 7: Rhodes vs Phonegap

Architecture

Page 8: Rhodes vs Phonegap

Install Rhodes

Generate Rhodes controllers for your data models

Edit the views for your controller actions

Test your application

The Rhodemap

Page 9: Rhodes vs Phonegap

Application in 2mins

Connecting rails & rhomobile

Agile application using Metadata

Demo Apps

25 mins to go ;)

Page 10: Rhodes vs Phonegap

A platform to create native apps using web technologies A JavaScript library A native library for every platform Compilation helpers

PhoneGap

Page 11: Rhodes vs Phonegap

Open Source Multi-platform Latests -even future- standards First class apps

Features

Page 12: Rhodes vs Phonegap

PhoneGap is not a UI framework PhoneGap doesn’t compile Every platform need its own compilation HTML5/CSS3 compatibility varies PhoneGap doesn’t include a browser and or a rendering engine

Warning!

Page 13: Rhodes vs Phonegap

iOS (iPhone y iPad) Android BlackBerry 4.x, - 7 webOS Symbian Samsung Bada Windows Phone 7.5

Compatibility (official 1.2)

Page 14: Rhodes vs Phonegap

BlackBerry PlayBook

Meego 1.2 Harmattan (Nokia N9)

Compatibility (non-official yet)

Page 15: Rhodes vs Phonegap

Apple AppStore Android Market, Amazon AppStore AppWorld AppCatalog Nokia Store Samsung Apps Windows Marketplace

Stores

Page 16: Rhodes vs Phonegap

Accelerometer Camera (video/photo) Compass Contacts File Management

Abilities

Page 17: Rhodes vs Phonegap

Geolocation Multimedia Network Information Notification Storage

Abilities

Page 18: Rhodes vs Phonegap

Abilities

Page 19: Rhodes vs Phonegap

Simulators and Emulators (www.mobilexweb.com/emulators)

Real devices

Ripple Simulator

Can we use a desktop browser?

To test

Page 20: Rhodes vs Phonegap

Challenges & Questions

Page 21: Rhodes vs Phonegap

we are using the browser engine... So why package it?

Page 22: Rhodes vs Phonegap

is it safe to use an embedded web view?

Page 23: Rhodes vs Phonegap

.

Page 24: Rhodes vs Phonegap

Screen sizes & orientations DPIs User Interface - should we emulate native

UI? Performance & JavaScript Best Practices

Challenges

Page 25: Rhodes vs Phonegap

Native code to add more support

Every platform should have its native code

We need a plugin community

Plugins

Page 26: Rhodes vs Phonegap

Advices

Page 27: Rhodes vs Phonegap

Advices Try to maintain one source code Embrace differences Best experience for every platform Define CSS and JavaScript per platform for porting

Page 28: Rhodes vs Phonegap

I am Done Thank You