Building Apps with Jigx

Data

4min

Data is the most crucial aspect of developing a mobile app; leveraging this data intelligently can transform a good app into a great one, harnessing the power of data within mobile applications drives engagement, personalization, and functionality.

This section covers data concepts, lifecycles, syncing and loading data, and data providers integrating with other systems to expose data.

Concepts

  1. Data Lifecycles in Jigx explains when data is loaded when it is cached and what triggers loading from cache vs loading from tables.
  2. Syncing Remote and Loading Local Data explains how to sync data from the cloud and how to display it on a . It also explains the difference between coordinating local and remote updates and their effect on a user's experience.
  3. When To Load Data is probably one of the most important topics when you design your solution. The timing of this will determine how robust the solution will work in offline environments and how loading data just in time can affect the user's experience.
  4. Offline Solutions access to data while a device is offline, for example, in airplane mode or without an internet signal. Once the device is back online, how is the data synced.

Data Providers

  1. Dynamic Data is a -specific data source that automatically syncs data in real time between devices. It is a great platform for disposable data, defining data that is not already available in existing systems, and how to sync data in real time between users and their devices, regardless of where it is updated.
  2. Microsoft Azure SQL provides an overview of working with Microsoft Azure SQL and a guide on configuring secure access and functions to read, update and delete data with queries and stored procedures.
  3. Microsoft OneDrive integration allows you to create, updated, and delete files in OneDrive. In a solution, you can list, and download files from OneDrive.
  4. REST provides an overview of working with REST services, including how data is returned, transformed, and used in the solution. This section explains selective data updates and how to configure security and more complex REST calls.
  5. Salesforce provider allows you to integrate with your Salesforce instance, with access to share data about sales, customers
  6. LOCAL - Stores data locally inside your solution until the app closes.
  7. SOAP - works with APIs based on SOAP protocols.

Datasources

Datasources are sets of data referenced when building solutions in . These are:

  1. Global - the data set is defined once and is available throughout your solution to be reused in multiple s.
  2. Local - the data sets are available inside the individual .

Entities

Entities refer to tables in data providers or datasources where data is saved, created, updated, read, and deleted. Actions provide the ability to execute the CRUD methods, sync data, and refresh data on individual rows (execute-entity) or multiple rows (execute-entities).