Tutorial: Get application data from a data source¶
In this tutorial you learn how to get the data for your Kanzi application from a data source.
Use data sources to separate the user interface from the application data and to remove the dependencies between a Kanzi Studio project and the application code which define the Kanzi application.
Kanzi allows you to define the format and structure of your data source by defining a Kanzi Engine data source plugin.
In this tutorial you learn how to define an XML data source and how to use the data from that data source in a Kanzi Studio project to provide the data to a Kanzi application.
This image shows the result of the tutorial.
Before you start this tutorial, make sure that you have your Kanzi development environment set up. For developing application logic with Kanzi Engine API, you need:
CMake 3.15 or newer
Visual Studio 2019 or Visual Studio 2017 with the latest updates
This tutorial assumes that you understand the basics of working with Kanzi Studio. The best entry points for getting familiar with Kanzi Studio are: