How the Sync Server Works

The RhoSync server acts as a middle tier between a mobile application and the web service that it accesses for remote data. The RhoSync server stores information from back-end systems in its data store as object-attribute-value (OAV) "triples" capable of representing any type of arbitrary data. OAV triples allow small changes between the device and the back end to be communicated back and forth very efficiently. Because RhoSync operates on individual attribute values rather than entire objects, RhoSync handles conflicts elegantly.

Using the RhoSync server framework, you will create an application. An application consists of one or more sources, subclasses of the SourceAdapter class, each of which contains instructions for how the RhoSync server should perform sync operations. The source adapter contains the instructions used to populate the data store on the RhoSync server with information from a web service. When a client device syncs, the source adapter manages the process used to take data from the device's data store, update its own data store, then populate your back-end system.

The RhoSync server framework also manages user authentication for your application. All client applications connecting to a RhoSync server require authentication. However, if your application does not require users to authenticate individually, you can simply accept all client connections, and automatically authenticate anyone using the application.

Mobile Apps Made Easy

Mobile Apps Made Easy

Quick start guide to skyrocket your offline and online business success with mobile apps. If you know anything about mobile devices, you’ve probably heard that famous phrase coined by one of the mobile device’s most prolific creators proclaiming that there’s an app for pretty much everything.

Get My Free Training Guide


Post a comment