The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created...

19
MENDIX WORLD The future of Mobile Apps is Offline-First Danny Roest / Product Manager / Mendix Marcel Groeneweg / Mendix Expert / ITvisors

Transcript of The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created...

Page 1: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

The future of Mobile Apps is Offline-First

Danny Roest / Product Manager / MendixMarcel Groeneweg / Mendix Expert / ITvisors

Page 2: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

1 2 3Offline first apps:

Why, how?

Mendix 8:

What’s new?

ITvisors:

Demo & shared experiences

Agenda

Page 3: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Page 4: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

How would you feel if your insurance app would not work?

Page 5: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Users should be able to do their work,regardless of the connection

Page 6: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

How does Mendix support this?

Consistency checks

UI & App logic on device

Data synchronization

Page 7: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Online apps Offline apps

The future: Offline first-apps

Page 8: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Offline first architecture

Approach• Pages & logic interact with local database• Synchronize data with server when needed

Benefits• UX / Performance• Reliability• Reduced battery drainage

Mendix Runtime

Mobile app

Page 9: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Automatic Mendix 7Modeler analyses model what to syncDeveloper does not have to worry about it

Configurable Mendix 8 BetaPer entity determine the constraintsDeveloper can constrain data via xpath expressionsExamples: based on location, only data that is needed today

Full control Mendix 8 GAVisual what needs to be synchronized by leveraging microflowsFull control on what and when to sync, while keeping it simpleExamples: get first articles, get orders from external system (e.g. SAP)

Extensible Mendix 8 GADevelopers can build activities that sync data with (Mendix) REST end points.Full control on what, when, and how to syncExample: fetch data from other Mendix app or external system

Page 10: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Configurable Sync

Page 11: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Pluggable nanoflow actions

JavaScript actions

TODO IDE screenshot

Page 12: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

With great powercomes great responsibility

Page 13: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Other “offline” features in Mendix 8

SubnanoflowsMX 8 GA

//Entity

List operations and list aggregation

Xpath support

Page 14: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Page 15: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Customer case

Fully offline Dynamic forms 3rd Party fingerprint integration

On device PDF generation

Page 16: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Demo

App demo• Business process using Flexible forms

Under the hood• Approach for offline and online data• Offline data querying• Decoupling reusable module

Page 17: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Offline do’s and don’ts

Do’s• Updating data offline requires a clean business process!• Double check your entity access• Create a sync debug page• Put an icon on entities used offline.

Don’ts• Don’t rename a module or entity used offline!

Page 18: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Go make it offline!

Page 19: The Future of Mobile Apps is Offline-First · The Future of Mobile Apps is Offline-First Created Date: 20190507192326Z ...

MENDIXWORLD

Thank you! Questions?