Offline Applications for Smart Devices
Gustavo [email protected], Artech
What is Offline?
What is offline?
Agenda
• What – The scenarios• How – The model• When – Implementation plan
Scenarios
Point of sales Scenarios I
The concept
Order
Customer Product
Event
Masters
Scenarios
Order
Customer Product
CompanyDeposit
CountryCity
RouteArea
Master Sync
Event Sync
Cook book Scenarios II
Bank transaction Scenarios III
The model
The concept
Order
Customer Product
The model
Order
Customer Product
CompanyDeposit
CountryCity
RouteArea
Master Sync
Event Sync
Connectivity Support: Offline
Main SD
Data Synchronization Criteria
Local changes processing
The concept - recap• Main property• Connectivity Support property
– Online– Offline
• Data Synchronization criteria– At application startup– User defined
• Local changes processing– When connected– User defined
The model
Synchronizer
• New object• One for each Offline Main SD• Automatically created/maintained• User conditions• User code
The model
Synchronizer parts The model
Synchronization API
• .Receive• .Send
• .Backup• .Restore
The model
Constraints
• Events are Business Components• Master sync is one-way• Events are always recorded off-line, then synced• Offline database always created
The model
Implementation plan
Platforms
• AndroidAlfa test in several customers
• iOSUnder development
Plan
Functionality
• Create SD DatabaseDone.
• Master SynchronizationUnder development.
• Event synchronizationStarting soon
Plan
What’s next?
• Attend• Offline Smart Device Apps, estado del arte con GeneXus
y casos• Café con Offline Smart Device Apps
• Start development now with GeneXus X Evolution 2
• Stay tuned for Genexus Tilo alpha testing