Share
Embed
RhoMobile Suite - Use your web skills to build mobile native applications
Presented at DroidCon Italy, Turin Feb. 6th/7th 2014.
Pietro F. Maggi
February 07, 2014
Transcript
22 slides
-
DroidCon Italy – Turin Feb. 6th -7th Slide 1 RhoMobile
Suite Use you web skills to build mobile native applications Pietro Maggi - @real_nibble [email protected] DroidCon Italy 2014 Turin - February 6th – 7th -
DroidCon Italy – Turin Feb. 6th -7th Slide 2 Today’s
Agenda • Motorola Solutions… you mean Lenovo? • RhoMobile Suite pieces • Rhodes app are web apps! • Demo • What’s next -
DroidCon Italy – Turin Feb. 6th -7th Slide 3 Synesthesia
(also spelled synæsthesia or synaesthesia, from the ancient Greek σύν [syn], "together", and αἴσθησις [aisthēsis], "sensation") is a neurological phenomenon in which stimulation of one sensory or cognitive pathway leads to automatic, involuntary experiences in a second sensory or cognitive pathway. People who report such experiences are known as synesthetes. Source: HHGTTG aka wikipedia -
DroidCon Italy – Turin Feb. 6th -7th Slide 4 Who
is Motorola Solutions? -
DroidCon Italy – Turin Feb. 6th -7th Slide 5 January
4th 2011 Motorola, Inc. was splitted in two separated companies: Mobile Devices and Home businesses become Motorola Mobility Holdings, Inc., and the Government and Enterprise businesses become Motorola Solutions, Inc. MOTOROLA SOLUTIONS NYSE: MSI Government and Enterprise MOTOROLA MOBILITY NYSE: MMI Consumer MOTOROLA SPLIT -
DroidCon Italy – Turin Feb. 6th -7th Slide 6 BE
THE GLOBAL PROVIDER LEADER OF MISSION CRITICAL COMMUNICATION SYSTEMS FOR GOVERNMENT AND ENTERPRISE GOVERNMENT ENTERPRISE Replace with Asia retail image MOTOROLA SOLUTIONS VISION -
DroidCon Italy – Turin Feb. 6th -7th Slide 7 MC1000
MC2100 MC55A MC75A MC3100 MC9190-G MC9500 MC65 ES400 ET1 MC17 WT4000 VC5000 VC6000 CUSTOMER FACING VC70 FIELD MOBILITY MC40 SB1 RhoMobile Mobile Device Management Document Capture Mobile Payment PTT Express VoIP Phone Client SOFTWARE RS309 RX4x9 RS507 HC1 • Voice • Mobile Payment • HazLoc / NI • Freezer • Medical • Accessories • IHV Solutions TASK SPECIFIC SOLUTIONS Mobile Workforce Management frameworks utilities MC45 WAP3 85x5 XT15 Ni, f INDUSTRIAL MOBILITY MC67 Vh10/vh10F MDM MobiControl products Voice Enabled TE Voice Enabled TE wearable vehicle handhelds -
DroidCon Italy – Turin Feb. 6th -7th Slide 8 RhoMobile
Suite Overview -
DroidCon Italy – Turin Feb. 6th -7th Slide 9 developer-centered
enterprise-focused future-ready RHOMOBILE SUITE 4.0 IT’S ALWAYS WHAT’S NEXT -
DroidCon Italy – Turin Feb. 6th -7th Slide 10 RHOMOBILE
SUITE 4.0 Products in the Suite DEVELOP INTEGRATE HOST MANAGE -
DroidCon Italy – Turin Feb. 6th -7th Slide 11 +
++ RhoElements ⊆ Rhodes Windows Mobile Standard JavaScript MVC and interface framework like jQuery Mobile, Sencha Touch, etc. Rhodes RhoElements base device capabilities NFC/ RFID barcode signature capture Device cap HTML tags WinCE automatic data encryption WebKit for Windows Mobile/ Windows CE Ruby and JavaScript Support. MVC ORM optional shared runtime (common container) + Windows iOS WP8 Android -
DroidCon Italy – Turin Feb. 6th -7th Slide 12 What’s
a RhoMobile app? Front-end side HTML page CSS Style Sheet JavaScript code Back-end side Ruby SQLite Database -
DroidCon Italy – Turin Feb. 6th -7th Slide 13 A
native RhoMobile app it’s a web app I’m the local SQLite I’m the front-end side. I run inside the browser sandbox and I’m written in HTML5, CSS and JavaScript. I can talk to remote web services and to the local HTTP server I can use Rhodes/RhoElements JavaScript API I’m the local HTTP server We’re static files: HTML, CSS and JavaScript I’m the local Ruby VM. I execute the framework and your dynamic ruby code -
DroidCon Italy – Turin Feb. 6th -7th Slide 14 RHOMOBILE
ARCHITECTURE Data ORM RhoConnect Client SQLite DB Model-View- Controller (MVC) HTML5 / CSS / JavaScript You write the application Core Services Webkit* We provide the framework *Motorola Webkit available on WinCE, Windows Mobile RhoConnect Server Backend Data Backend Data Source Adapter Source Adapter -
DroidCon Italy – Turin Feb. 6th -7th Slide 15 RhoConnect
Clients RhoConnect Server SalesForce.com Source Adapter Web Services Source Adapter SQL DB Source Adapter RESTful API Server Plugin Redis NoSQL DB -
DroidCon Italy – Turin Feb. 6th -7th Slide 16 Build
a client app -
DroidCon Italy – Turin Feb. 6th -7th Slide 17 So
let’s see it • Build a web app and deploy it natively on a device • Build for different platforms • PropertyBags vs FixedSchema -
DroidCon Italy – Turin Feb. 6th -7th Slide 18 Add
sync to Backend -
DroidCon Italy – Turin Feb. 6th -7th Slide 19 Data
Sync via RhoConnect • Enable sync in the client app • Build a RhoConnect server • Build a Source Adapter • Run it and do a sync • What’s available on the console • Data Conflicts • Scalability -
DroidCon Italy – Turin Feb. 6th -7th Slide 20 Some
useful links -
DroidCon Italy – Turin Feb. 6th -7th Slide 21 what’s
next? • Launchpad: http://developer.motorolasolutions.com • Rhodes source code: https://github.com/rhomobile/rhodes • Rhodes sample: https://github.com/rhomobile/rho-samples