Data Models
This app contains a very simple data model structure. There are three data models, shown below with their attributes. The attribute data type is listed in parenthesis.
- TimeReport
- Date (Date)
- Time (Time)
- Comment (String)
- Project
- Name (String)
- Description (String)
- User (Imported)
- FirstName
- SecondName
- Phone
The Appivo platform supports many type of data models and attributes, including the ability to share and import data models from other apps, and the platform itself. Since the Appivo platform handles user management, the Time Report app is using the platform’s User data model.
Forms
Data forms are a core concept to the Appivo platform. The Time Report app uses two forms, which are each used to connect the UI to the backend.
- Time form – The Time form will be used when manipulating time data at runtime. For example: creating a new time entry.
- Project form – The Project form will be used when manipulating project data at runtime. For example: creating and editing a project.
Forms are used to manipulate a given data model and optionally related records as well. Deciding what form to use and how to use it often depends on an app’s data model and data relationships.