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.

Living With Android

Living With Android

Get All The Support And Guidance You Need To Finally Be A Success At Using Android. This Book Is One Of The Most Valuable Resources In The World When It Comes To Playing With the Hottest Android Tablet.

Get My Free Ebook


Post a comment