Rhomobile and HHT apps

Embed Size (px)

Citation preview

HHT application using RhomobilePresented by Fahad ShamiJunior Developer

AGENDAObjective

HHT Functional Overview

Rhomobile Background

Rhomobile

Comparsion Table

Rhodes

Rhosync

AsyncHttp

RhoHub

RhoGallery

Summary

Drawbacks

ObjectiveThe motive behind the research is that we want to present seamless and complete enterprise solution to our customers.

We like to make an enterprise opensource mobile application for our product ODMS.

To start developing the HHT application we have to explore different platforms available in the market and select one which coincide our requirements.

Objective-continueThe HHT application will be install usually on windows mobile(as the 80% handheld devices are structured on windows platform) for e.g Janam, Motorolla MC75,Pidion, Opticon, Hp iPAQ.

This application will facilitate the sales department for order booking and/or spot selling purposes.

Back to Agenda

HHT Functional OverviewLocation(DMS Server)HHT UserCustomersHHT User

Product info, customer info, route info

Sync outRouting

Sale orders

Route info, sale ordersSync In

Invoice with orderBack to Agenda

Rhomobile-BackGroundSmartphone sales are exploding.

Five major smartphone sales hone OS are iPhone, BB, Windows Mobile, Symbian, Android.

Mobile applications can be developed by using different frameworks and programming languages based on the type of mobile device.

Founded in 2008, Rhomobile, headquartered in San Jose, CA, is a privately held company with backing from vSpring Capital.

So Rhomobile came up with the idea of developing an application with one code base and building it for all smart phones.

Back to Agenda

RhomobileRhomobile Inc. is a computer software company that provides leading products for building the new generation of mobile applications.

It offers an open-source Ruby-based mobile development framework for business mobility solutions through its four major products

Rhodes

Rhosync

RhoHub

RhoGallery

Rhomobile-ContinueIt enables software programmers to build straightforward applications for mobile devices using HTML and Ruby instead of proprietary languages such as Objective-C or Java.

Currently, the Rhodes framework supports development for the iPhone, Windows Mobile, Google Android, Symbian, and BlackBerry operating systems.

Available opensource: http://www.github.com/rhomobile

Rhomobile-Continue

Back to Agenda

Back to Agenda

RhodesRhodes is free and open source framework (under MIT Licence) by Rhomobile.

It develops native applications for almost all smart phones, but you need to have the particular operating system for developing locally.

It is the only cross mobile framework based on Model View Controller.

Rhodes-ContinueRhodes provides an inbuilt Object Relational Manager called Rhom.

Rhom supports two models: 'Property bag' and 'Fixed Schema'

The database is SQLite on all platforms except BlackBerry, where it is HSQL

To develop for a particular platform you need to have its specific SDK

Back to Agenda

Rhodes Architecture

Back to Agenda

RhoSyncRhoSync is a standalone mobile sync server that keeps enterprise application data up to date and available on users' smart phones.

Rhosync uses Redis, which is a NoSql Key Value store for data caching.

Synchronization framework facilitates data synchronization between the Rhodes/RhoSync-Client and a third-party source (SOAP, REST, etc.)

RhoSync-continueEach source is synchronized by creating "source adapter" class, which would interact with your backend data source.

Source Adapter consist of:

Login

Query

Create

Update

Delete

Logoff

Sync

RhoSync Architecture

RhoSync ServerSource AdaptersLogin QueryCreate UpdateDeleteLogOffSync

Mobile

Rhodes RhoSync Client

Database Objects Attributes Values

Enterprise app

Webservice

Rhom

showJSONstore

Direct calls using JSONBack to Agenda

ASyncHttpRhodes provides another utility for connecting to backend services besides the SyncEngine called AsyncHttp.

Your application can use the AsyncHttp library to interact with web services, pull remote images, etc.

Below is the some of available AsyncHttp methods you can use to asyncrhonously make calls to http(s) services:

:url URL of the request.

:headers Hash of headers to send with the request.

:callback Callback action to execute when the request is done.

Back to Agenda

RhoHubRhoHub is a hosted development environment for Rhodes and Rhosync.

The RhoSync application will be deployed on the famous Ruby cloud Heroku with the interface of RhoHub.

It allows us to directly build an application for different smart phones without installing SDKs.

RhoHub also assist user by its online Editor.

RhoHub editor supports for e.g. editing Ruby/HTML/CSS/JavaScript files, viewing image files, uploading of local files into the editor, adding, removing, and renaming of files and directories

Back to Agenda

RhoGalleryRhoGallery provides a hosted mobile app management solution.

It enables users to launch all of their important enterprise apps from a single place

RhoGallery consists of a management console for "app galleries" on RhoHub

RhoGallery makes it easy to expose those apps to their users

RhoGallery handles inviting the users and determining the appropriate downloads to provide to them.

Back to Agenda

SummaryBack to Agenda

DrawbacksAlthough it supports most of the device capabilities of smartphone but not all of them.

The support for symbian based phones is limited for their commercial interest.

Rhomobile mainly targeted platforms are iPhone and Android.

You can write simple interface apps with rhodes but if you want to make more fancy look for your app you need to implement it with HTML5,CSS,JavaScript,JQuerryMobile.

DrawbacksWhen providing security to your database the All database modification operations can be slow, especially on big databases.

While using RhoHub you have to keep pull your changes to your local PC and keep backups of them.

If you've edited native controls of any application you cannot compile it on other platforms it will be confronted for that mobile OS.

It limits by phone storage, works fine with 100MB database but after that application becomes slow.

DrawbacksYou have to purchase a Rhodes Enterprise License and the Rhodes Commercial License to get commercial support, to use RhoSync, you must purchase a commercial license when development commences.

To develop an enterprise level app with full functionality the developer should know the following in depth

RubyCSS

RailsJSON

HTML/HTML5JQuerry/JQTouch

JavaScriptRedis

RHOMNative Language

Back to Agenda

References

http://docs.rhomobile.com

Rhomobile Book by Abhishek Nalwaya

http://technocloud.com/2011/05/21/global-smartphone-sales-statistics/

http://www.aspininteractive.com/minisell/pda_smartphone

http://groups.google.com/group/rhomobile/

http://rhomobile.com/white-papers-case-studies-data-sheets/

THANK YOU