Robert van Boesschoten
Last updated: 27-08-2020
The data model is where the application stores all the information. A single model represents a part of this. The data model in your application is a visual tool with an intuitive interface. It has the following elements: models, properties, and relations.
The application's data is defined and stored in the data model so we can use it for other application elements, as for application actions. It is the backbone of all application types you can build with the Betty Blocks platform. It describes all the data in an abstract way and hides unnecessary complexity to increase speed and flexibility. No technical knowledge of databases is needed as writing queries. The data model is visually built (drag and drop). We are taking care of the underlying database.
The data model is logically split up into multiple models, properties and relations:
Models are shown as containers in the datamodel. They represent real-world objects that are included in the application. For a webshop, for instance, a product model will be necessary to store the data of all the products, your customers, and their orders. The name of a model is written as a singular noun, so the name for a products model will be product. Every new application starts with 2 models: Role and User. These models are for the Betty Blocks users that can log in to the application so it is not advised to make changes to them.
Now you can start adding Properties to your model!