Rhomobile Beginner's Guide

Step-by-step instructions to build an enterprise mobile web application from scratch
Preview in Mapt

Rhomobile Beginner's Guide

Abhishek Nalwaya

Step-by-step instructions to build an enterprise mobile web application from scratch
Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.90
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Rhomobile Beginner's Guide Book Cover
Rhomobile Beginner's Guide
$ 26.99
$ 18.90
AWS Administration - The Definitive Guide - Second Edition Book Cover
AWS Administration - The Definitive Guide - Second Edition
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $27.98
Add to Cart

Book Details

ISBN 139781849515160
Paperback264 pages

Book Description

The four Rhomobile products – Rhodes, Rhosync, RhoHub, and Rhogallery – provide a complete toolkit for creating a mobile application. Rhomobile is cross-platform and so allows you to build your application for many different types of smartphone – including iPhone and Blackberry – just with a single codebase. This makes it the most preferred and quickest way of developing mobile apps. As you create a native Rhomobile application, you can use the built-in device features such as GPS, Push, and Camera, all with offline capabilities.

Rhomobile Beginner's Guide is filled with practical examples to help you to create a mobile application from scratch. You can choose on which operating system to build, as well as for which smartphone to develop your application, giving you the freedom to create a customized mobile application quickly and easily.

Once you have learned how to install Rhomobile on Windows, Mac, or Linux, you will create a simple application, which will be used to explore the products of Rhomobile one by one. Things really get going when you write unit test cases for your application before deploying it to the server and making builds for your chosen Smartphone.

You will learn about the different aspects of Rhomobile, starting with Rhodes 3, which helps you to build a native mobile application. Rhosync 2.1 carries out the offline device capabilities and RhoHub deploys the code on the server and creates a build for the different smartphones.

Rhomobile Beginner's Guide gives you the freedom to create a mobile web application on the platform of your choice, for the smartphone of your choice.

Table of Contents

Chapter 1: What is Rhomobile?
The Rhomobile family
Why Rhomobile is cutting edge
Rhomobile architecture
FAQ
Summary
Chapter 2: Installation and Configuration—How to Start off
Rhomobile installations
Installing Rhomobile
Time for action – Installing on Windows
Time for action – Installing on Linux
Time for action – Installing on a Mac
Device SDK installation
Time for action – Installing Blackberry SDK
Time for action – Installing Android SDK
Time for action – Installing iPhone SDK
Time for action – Configuration
Time for action – Installing Development Environments—IDE
Summary
Chapter 3: Instant Gratification—Create Your First Application
Let's get started…
Time for action – Creating an employee application
Building your first Rhodes application
Time for action – Build it for different smart phones
Navigating the Directory Structure
Linking views to the homepage
Creation of a new page
Summary
Chapter 4: Rhom—Playing with the Local Database
What is ORM?
Exploring Rhom
Time for action – Creating a company model
Association
Time for action – Creating an association between employee and company
Exploring methods available for Rhom
Time for action – Filtering record by company and gender
How Rhodes stores data
Summary
Chapter 5: RhoSync—Synchronizing Your Data
Generating a RhoSync application
Time for action – Creating a RhoSync application
RhoSync source adapters
Time for action – Creating source adapter
Configure the Rhodes application to connect to RhoSync
Time for action – Connecting the Rhodes application to RhoSync
Placing data in the Rhodes application from RhoSync
Time for action – Filling data from RhoSync
Connecting to Backend services
CRUD operation using RhoSync
Filtering datasets with search
Time for action – Filtering data with search
Authentication
RhoSync REST API
Summary
Chapter 6: Metadata and Push—Creating Agile Views
Getting ready for Metadata
Time for action – Installing the Rhodes translator gem
Creating the first view using metadata
Time for action – Creating an index page
Getting all the views for company from Metadata
Metadata validation
Custom templates
Push data to your phone
Testing Push in the Web Console
Summary
Chapter 7: Native User Interface—Cosmetics for Your Smart Phones
Device-specific style
Time for action – Adding device-specific style
Dynamic loading of custom view files based on the current platform
Standard smart phone CSS/HTML architecture
Application menu
Controller action menu
Native tab bar
Time for action – Creating tabs
BlackBerry CSS/HTML architecture
Loading screen
Time for action – Setting the loading Image
Adding transition styles for iPhone/Android
Time for action – Adding transaction animation
Summary
Chapter 8: Unit Testing and Logging—Writing Better Code
Unit testing
Time for action – Getting ready for testing the Rhodes application
Writing your first Rhodes unit test
Time for action – Writing the first test
Testing the RhoSync application
Time for a Action – Running the default test
Creating the first unit test for the RhoSync application
Time for action – Creating a unit test for the source adapter
Logging
Time for action – Configure logs for the Rhodes application
Where to find logs:
Pop quiz- Logging
RhoError class
Summary
Chapter 9: RhoHub—Deploying to Cloud
Installation and configuration
Time for action – Installation and configuration
Understanding basic Git
Creating a RhoHub project
Time for action – Creating a RhoHub project
Cloning and committing your Rhodes application
Time for action – Pushing Rhodes application
Deploying the RhoSync application
Time for action – Pushing the RhoSync application
RhoHub online editor
Creating builds for different phones from RhoHub
Time for action – Three steps to build the Rhodes code
Deploying the RhoSync application to RhoHub
Time for action – Three steps to deploy RhoSync
RhoGallery
Time for action – Creating a gallery
Summary
Chapter 10: Rhodes power unleashed
System class
Time for action – Using the System class
Doing more things with System class
Time for action – Starting other applications
PIM contacts
Time for action – CRUD operations on contacts
Camera
Time for action – Capturing images
Geolocation
Time for action – Adding Geolocation
What just happened?
Alerts
Time for action – Creating alerts
Other device capabilities
Timer
Summary

What You Will Learn

  • Install Rhomobile products on Windows, Mac and Linux
  • Create a basic Rhodes 3 application that interacts with the database
  • Fetch data from backend services and display it on your phone
  • Create a native User Interface for your chosen smartphone
  • Write unit test cases for your application
  • Deploy your Rhosync 2.1 application to Rhohub to create a build for your smartphone
  • Generate views from the server using Metadata
  • Make use of device capabilities such as Push and GPS

Authors

Table of Contents

Chapter 1: What is Rhomobile?
The Rhomobile family
Why Rhomobile is cutting edge
Rhomobile architecture
FAQ
Summary
Chapter 2: Installation and Configuration—How to Start off
Rhomobile installations
Installing Rhomobile
Time for action – Installing on Windows
Time for action – Installing on Linux
Time for action – Installing on a Mac
Device SDK installation
Time for action – Installing Blackberry SDK
Time for action – Installing Android SDK
Time for action – Installing iPhone SDK
Time for action – Configuration
Time for action – Installing Development Environments—IDE
Summary
Chapter 3: Instant Gratification—Create Your First Application
Let's get started…
Time for action – Creating an employee application
Building your first Rhodes application
Time for action – Build it for different smart phones
Navigating the Directory Structure
Linking views to the homepage
Creation of a new page
Summary
Chapter 4: Rhom—Playing with the Local Database
What is ORM?
Exploring Rhom
Time for action – Creating a company model
Association
Time for action – Creating an association between employee and company
Exploring methods available for Rhom
Time for action – Filtering record by company and gender
How Rhodes stores data
Summary
Chapter 5: RhoSync—Synchronizing Your Data
Generating a RhoSync application
Time for action – Creating a RhoSync application
RhoSync source adapters
Time for action – Creating source adapter
Configure the Rhodes application to connect to RhoSync
Time for action – Connecting the Rhodes application to RhoSync
Placing data in the Rhodes application from RhoSync
Time for action – Filling data from RhoSync
Connecting to Backend services
CRUD operation using RhoSync
Filtering datasets with search
Time for action – Filtering data with search
Authentication
RhoSync REST API
Summary
Chapter 6: Metadata and Push—Creating Agile Views
Getting ready for Metadata
Time for action – Installing the Rhodes translator gem
Creating the first view using metadata
Time for action – Creating an index page
Getting all the views for company from Metadata
Metadata validation
Custom templates
Push data to your phone
Testing Push in the Web Console
Summary
Chapter 7: Native User Interface—Cosmetics for Your Smart Phones
Device-specific style
Time for action – Adding device-specific style
Dynamic loading of custom view files based on the current platform
Standard smart phone CSS/HTML architecture
Application menu
Controller action menu
Native tab bar
Time for action – Creating tabs
BlackBerry CSS/HTML architecture
Loading screen
Time for action – Setting the loading Image
Adding transition styles for iPhone/Android
Time for action – Adding transaction animation
Summary
Chapter 8: Unit Testing and Logging—Writing Better Code
Unit testing
Time for action – Getting ready for testing the Rhodes application
Writing your first Rhodes unit test
Time for action – Writing the first test
Testing the RhoSync application
Time for a Action – Running the default test
Creating the first unit test for the RhoSync application
Time for action – Creating a unit test for the source adapter
Logging
Time for action – Configure logs for the Rhodes application
Where to find logs:
Pop quiz- Logging
RhoError class
Summary
Chapter 9: RhoHub—Deploying to Cloud
Installation and configuration
Time for action – Installation and configuration
Understanding basic Git
Creating a RhoHub project
Time for action – Creating a RhoHub project
Cloning and committing your Rhodes application
Time for action – Pushing Rhodes application
Deploying the RhoSync application
Time for action – Pushing the RhoSync application
RhoHub online editor
Creating builds for different phones from RhoHub
Time for action – Three steps to build the Rhodes code
Deploying the RhoSync application to RhoHub
Time for action – Three steps to deploy RhoSync
RhoGallery
Time for action – Creating a gallery
Summary
Chapter 10: Rhodes power unleashed
System class
Time for action – Using the System class
Doing more things with System class
Time for action – Starting other applications
PIM contacts
Time for action – CRUD operations on contacts
Camera
Time for action – Capturing images
Geolocation
Time for action – Adding Geolocation
What just happened?
Alerts
Time for action – Creating alerts
Other device capabilities
Timer
Summary

Book Details

ISBN 139781849515160
Paperback264 pages
Read More

Read More Reviews

Recommended for You

PhoneGap Beginner's Guide Book Cover
PhoneGap Beginner's Guide
$ 26.99
$ 18.90
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Appcelerator Titanium Smartphone App Development Cookbook Book Cover
Appcelerator Titanium Smartphone App Development Cookbook
$ 26.99
$ 18.90
Android User Interface Development: Beginner's Guide Book Cover
Android User Interface Development: Beginner's Guide
$ 26.99
$ 18.90
Twitter Bootstrap Web Development How-To Book Cover
Twitter Bootstrap Web Development How-To
$ 12.99
$ 9.10
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40