mobile offline odata framework for azure
Post on 25-May-2015
745 Views
Preview:
DESCRIPTION
TRANSCRIPT
MOBILE OFFLINE FRAMEWORK FOR AZUREPaul Zhou
AGENDA
Background Is Mobile Offline Feature the Niche? Framework to support Mobile Offline Apps
MOBILE APP OFFLINE PATTERNS
RDB synchronization File synchronization Message Queue RPC
Mobile Device Server
Handheld Application
DB Sync Engine
Publications & Subscriptons
RDBMS
Small FootprintRDBMS
DB Sync Engine
RDB SYNC
FILE SYNC
MESSAGE QUEUE
RPC AND CACHING
OLD DAYS
No(Expensive) Cellular Data Expensive Mobile Devices Business Data Exchange Scenario
Work start in office : sync Do the work during the day without syncing Back to office: sync
Offline Patterns: RDB Sync and File Sync Windows Solution(Merge and SyncFramework),
Sybase Ultralite solution
THINGS HAVE CHANGED
Cheap Cellular Data Cheap Mobile Devices Business Data Exchange Scenario
Any time Offline Patterns:
REST, SOAP and Caching iOS device, Android Device
IS OFFLINE STILL RELEVANT?
Availability: Some areas, locations have no connection
Performance Unstable connection drags performance
Reliability Losing data is evil
HOW OFFLINE ARE OUR RECENT CUSTOMER PROJECTS?
CP: 100% ALC: 100% PK: 100% SIT: 70% TF: 10% OCT: 10% GI: 10% SSI 10% CAUBO 10% OCDSB 0%
EXAMPLE1- SHORT MESSAGE(GPS COORDINATE)
DB and synchronization Store GPS coordinates in a table and do
background sync File and Synchronization
Store GPS coordinates in a file and do background sync
Message Queue Put coordinates in a local queue
RFC(REST/SOAP) and Caching Send coordinates when connection available Cache when fails: file, dictionary, sqlite Send caches when connection available again
EXAMPLE2- BIG FILES(PHOTO)
DB and synchronization Store file in a table and do background sync
File and Synchronization Store file locally and do background sync
Message Queue Not applicable
RFC(REST/SOAP) and Caching Send file when connection available Store locally when fail Send file again when connection available
EXAMPLE3: RECENT PROJECTS CP/ALC/….(Windows Mobile)
DB Sync OCT (iPhone)
REST+JSON and SQLite caching GI
REST+JSON and SQLite caching PC
REST+JSON and SQLite and files SSI/CAUBO
SOAP+XML and Dictionary serialization ShiftIT
REST+JSON and SQLite caching Touch Fleet
REST+JSON
ODATA SYNC FOR RDB
ODATA SYNC FOR FILES
OFFLINE MESSAGE QUEUE
top related