Skip to main content
Version: Current

Data model

For any Genesis application, everything starts with the data model.

Getting this right is critical not just to the success of the application, but to how intuitive it will be to develop.

Once you have this in place, you will find all the other steps are much easier and more logical to complete.

In Genesis, we structure our data in the following way:

Each of these must be specified in a separate file on the file system:

  • application-fields-dictionary.kts
  • application-tables-dictionary.kts
  • application-view-dictionary.kts

In this section, we look in more detail at how you define your fields, tables and views.

These pages assume you are creating a data model from scratch. You can also create a data model from an existing Excel spreadsheet or RDBMS database. You can see this in practice in our tutorial covering the Excel and RDBMS routes.