E-book details

Rhomobile Beginner's Guide. Step-by-step instructions to build an enterprise mobile web application from scratch

Rhomobile Beginner's Guide. Step-by-step instructions to build an enterprise mobile web application from scratch

Abhishek Nalwaya

Ebook
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.
  • Rhomobile Beginners Guide
    • Table of Contents
    • Rhomobile Beginner's Guide
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. What is Rhomobile?
      • The Rhomobile family
        • Rhodes
        • RhoSync
        • RhoHub
        • RhoGallery
      • Why Rhomobile is cutting edge
        • Which products does Rhomobile support?
      • Rhomobile architecture
        • Rhodes application
        • Rhosync application
        • Backend application
      • FAQ
      • Summary
    • 2. Installation and ConfigurationHow 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
        • What just happened?
      • Device SDK installation
        • Blackberry SDK installation
          • Which Operating Systems are supported?
          • Where to get it from:
      • Time for action Installing Blackberry SDK
        • Android SDK installation
          • Which Operating Systems are supported?
          • Where to get it from:
      • Time for action Installing Android SDK
        • iPhone SDK installation
          • Which Operating Systems are supported?
          • Where to get it from:
      • Time for action Installing iPhone SDK
      • Time for action Configuration
        • What just happened?
      • Time for action Installing Development EnvironmentsIDE
        • What just happened?
      • Summary
    • 3. Instant GratificationCreate Your First Application
      • Let's get started
      • Time for action Creating an employee application
        • What just happened?
        • Have a go hero Exploring the Rhogen command
      • Building your first Rhodes application
      • Time for action Build it for different smart phones
        • What just happened?
      • Navigating the Directory Structure
        • Time for action Creating the model
        • What just happened?
      • Linking views to the homepage
        • Time for action Linking the employee view to the homepage
          • Have a go hero Exploring url_for
        • Digging the MVC in our application
          • Model
          • Controller
          • Views
          • Rhodes configuration fileRhoconfig.txt
          • Building a Configuration filebuild.yml
        • Changing the input style
          • Time for action Editing view
            • What just happened?
      • Creation of a new page
        • Time for action Creation of the new page
      • Summary
    • 4. RhomPlaying with the Local Database
      • What is ORM?
      • Exploring Rhom
      • Time for action Creating a company model
        • What just happened?
      • Association
      • Time for action Creating an association between employee and company
        • What just happened?
      • Exploring methods available for Rhom
      • Time for action Filtering record by company and gender
        • What just happened?
        • Have a go hero find (*args) Advanced proposal
      • How Rhodes stores data
        • Property Bag
        • Fixed Schema model
      • Summary
    • 5. RhoSyncSynchronizing Your Data
      • Generating a RhoSync application
      • Time for action Creating a RhoSync application
        • What just happened?
        • Have a go hero Disable the web interface
      • RhoSync source adapters
      • Time for action Creating source adapter
        • What just happened?
      • Configure the Rhodes application to connect to RhoSync
      • Time for action Connecting the Rhodes application to RhoSync
        • What just happened?
      • Placing data in the Rhodes application from RhoSync
      • Time for action Filling data from RhoSync
        • What just happened?
      • Connecting to Backend services
        • What just happened?
      • CRUD operation using RhoSync
        • Create
        • Update
        • Delete
        • What just happened?
      • Filtering datasets with search
      • Time for action Filtering data with search
      • Authentication
        • What just happened?
      • RhoSync REST API
      • Summary
    • 6. Metadata and PushCreating Agile Views
      • Getting ready for Metadata
      • Time for action Installing the Rhodes translator gem
        • What just happened?
      • Creating the first view using metadata
      • Time for action Creating an index page
        • What just happened?
        • Have a go hero
      • Getting all the views for company from Metadata
        • Understanding the code
          • Digging the code for the new page
          • Digging the code for the show page
          • Digging the code for the edit page
      • Metadata validation
      • Custom templates
      • Push data to your phone
        • Set up the Rhodes application for Push
          • Push for iOS
          • Push for Android
          • Push for Blackberry
            • Setting up the MDS simulator
      • Testing Push in the Web Console
      • Summary
    • 7. Native User InterfaceCosmetics for Your Smart Phones
      • Device-specific style
      • Time for action Adding device-specific style
        • What Just happened
        • Customizing layouts
      • Dynamic loading of custom view files based on the current platform
      • Standard smart phone CSS/HTML architecture
        • pageTitle (<div id="pageTitle">)
        • toolbar (<div id="toolbar">)
        • Toolbar button styles
        • Content (<div id="content">)
      • Application menu
        • Time for action Default menu
          • What just happened?
      • Controller action menu
        • Time for action Creating an action menu
          • What just happened?
      • Native tab bar
      • Time for action Creating tabs
        • What just happened?
      • BlackBerry CSS/HTML architecture
      • Loading screen
      • Time for action Setting the loading Image
        • What just happened?
      • Adding transition styles for iPhone/Android
      • Time for action Adding transaction animation
        • What just happened?
        • Pop Quiz
      • Summary
    • 8. Unit Testing and LoggingWriting Better Code
      • Unit testing
      • Time for action Getting ready for testing the Rhodes application
        • What just happened?
      • Writing your first Rhodes unit test
      • Time for action Writing the first test
        • What just happened?
      • Testing the RhoSync application
      • Time for a Action Running the default test
        • Pop Quiz Spec
        • What just happened?
      • Creating the first unit test for the RhoSync application
      • Time for action Creating a unit test for the source adapter
        • Query
        • Create
        • Update
        • Delete
        • What just happened?
        • Have a go hero Creating a test for the company model
      • Logging
      • Time for action Configure logs for the Rhodes application
        • What just happened?
      • Where to find logs:
        • iPhone
        • Android
        • Blackberry
      • Pop quiz- Logging
        • See the device log on the device
      • RhoError class
      • Summary
    • 9. RhoHubDeploying to Cloud
      • Installation and configuration
      • Time for action Installation and configuration
        • What just happened?
      • Understanding basic Git
      • Creating a RhoHub project
      • Time for action Creating a RhoHub project
        • What Just Happened?
        • Pop Quiz
      • Cloning and committing your Rhodes application
      • Time for action Pushing Rhodes application
        • What Just Happened?
        • Have a go hero Commit the code
      • Deploying the RhoSync application
      • Time for action Pushing the RhoSync application
        • What just happened?
      • RhoHub online editor
      • Creating builds for different phones from RhoHub
      • Time for action Three steps to build the Rhodes code
        • What Just Happened?
      • Deploying the RhoSync application to RhoHub
      • Time for action Three steps to deploy RhoSync
        • What Just Happened?
      • RhoGallery
      • Time for action Creating a gallery
        • What just happened?
      • Summary
    • 10. Rhodes power unleashed
      • System class
      • Time for action Using the System class
        • What just happened?
      • Doing more things with System class
        • Exit application
        • Enable\disable phone sleep
        • Managing other applications
      • Time for action Starting other applications
        • What just happened?
      • PIM contacts
      • Time for action CRUD operations on contacts
        • What just happened?
        • Have a go hero CRUD operations for Calendar/Events
      • Camera
        • Taking a picture
        • Choosing a picture from an album
      • Time for action Capturing images
        • What just happened ?
      • Geolocation
        • GeoLocation Ruby class
      • Time for action Adding Geolocation
      • What just happened?
      • Alerts
      • Time for action Creating alerts
        • What Just happend?
      • Other device capabilities
        • Barcode
        • Ringtone manager
        • Bluetooth
          • BluetoothManager
          • BluetoothSession
      • Timer
      • Summary
    • Index
  • Title: Rhomobile Beginner's Guide. Step-by-step instructions to build an enterprise mobile web application from scratch
  • Author: Abhishek Nalwaya
  • Original title: Rhomobile Beginner's Guide. Step-by-step instructions to build an enterprise mobile web application from scratch
  • ISBN: 9781849515177, 9781849515177
  • Date of issue: 2011-07-26
  • Format: Ebook
  • Item ID: e_3czu
  • Publisher: Packt Publishing