10
Adam Blum [email protected]

Building Mobile Apps with Rhodes

  • Upload
    rhocam

  • View
    2.490

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Building Mobile Apps with Rhodes

Adam [email protected]

Page 2: Building Mobile Apps with Rhodes

Rhomobile Mission

Mobilize applications rapidly with a great user experience

Provide the high level productivity and portability of web programming

Device optimization and offline capability of “native mobile apps”

Open source for rapid adoption by developers

Page 3: Building Mobile Apps with Rhodes

Background

Smartphone sales are exploding Five major smartphone operating

systems: iPhone, BlackBerry, Windows Mobile, Symbian, Android Growth leaders are installed base laggards

“native apps” have won the day 800 million iPhone app downloads on a

platform with great browser installed

But …how do you write an app for all popular devices?

Page 4: Building Mobile Apps with Rhodes

A Better Way… Rhodes

Build the app quickly in HTML and Ruby

Write it once and it runs on all smartphones

Work with synced local data Exploit device capabilities (GPS, PIM

data, camera, SMS) Available open source:

http://www.github.com/rhomobile

Page 5: Building Mobile Apps with Rhodes

The Rhomobile Components

Rhodes “microframework” for building locally executing

natively optimized mobile apps Developers run app generator for their objects of

interest and then edit HTML templates Contains first mobile Ruby implementation

RhoSync Sync focused on web service data (needed in the

age of SaaS) Handles keeping your data local on the device

Page 6: Building Mobile Apps with Rhodes

Rhodes Architecture

RhoSyncServer

synced data(SQLite)

Rhodes app

RhoSync clientweb server

ORM (Rhom)

Rhodes runtime

browsercontrol

Rubyinterpreter

HTML templates

model

controller

modelHTML

templatescontroller

Backendapp

mobile device

sourceadapter

sourceadapter

Backendapp

model

model

We provide:

Third party components:

You write:

Page 7: Building Mobile Apps with Rhodes

Rhodes Apps Rhomobile provides sample apps

SugarCRM Siebel Field Service

Third party appsTrailGuide (Basecamp) - Carry the Day Mobile Lighthouse – VDG Group Wikipedia – Wikimedia (Hampton Catlin)PixalPediaBMC Remedy/Aeroprise

Page 8: Building Mobile Apps with Rhodes

Building a Rhodes App Get your data (RhoSync)

Create a sync source Define your sync source adapter code Test it from the RhoSync web interface

Generate your app (RhoGen) Generate an app (in the Rhodes \apps subdirectory) Generate scaffold code for the model

Develop your app (Ruby/HTML editor of choice) Edit your HTML templates (ERB file)

Build, test, deploy (development environment for device) Build your app Test your app Make available for download (or submit to an AppStore)

Page 9: Building Mobile Apps with Rhodes

Status 1.0 release! March 24th here at OSBC

Android Camera

RhoHub Hosted app development (edit online a la Heroku) Hosted build (don’t need to install all development

environment) Hosted provisioning (user downloading from URL) Hosted runtime (sync server) First 100 registrants on http://rhohub.com get in

private beta

Page 10: Building Mobile Apps with Rhodes

Why Rhomobile?

Declarative tag-based approach (web programming) is more productive

Rich client against local data much better than remote web apps

Write it once and it works on all smartphones

Open source from the ground up http://www.rhomobile.com