Data modeling

Easily create complex data models

Altogic allows the formation of complex data models with relations and multilevel data hierarchies and automatically creates your data model in the database and manages your data model changes.

You can define model hierarchies where the top-level model can have several sub-models, and each sub-model can also have several other child models.

You can also create your data models as either permanent or transient. Permanent models are stored in the database, whereas transient models are not.
Data structure
Multi-level data hierarchies with sub-models
n-to-n relations with other models or sub-models
Rich set of data fields with built-in and custom validation rules
Data structure
Field types

Use a rich set of data types in defining your data model fields

  • You can define a field as permanent or transient. Permanent fields are stored in the database, whereas transient fields are not.
  • A field can be indexed. Altogic automatically creates the necessary indices for your data model; however, for finer control over your data, you can explicitly specify whether to index the values of a field for faster access or not
  • A field can be read-only. When an object with read-only fields is created, you cannot modify the value of read-only fields later.
  • A field can be marked as mandatory or optional. All mandatory field values need to be provided when creating a model object.

Dynamicly set default values of your fields

You can use the expression editor to write down Excel-like formulas in defining a field's default value. With expressions, you are not restricted to define default values as static values. You can define default values that can dynamically change based on the values provided in other model fields.

Data structure
Data structure

Apply custom data validation rules

For each different field type, you can use pre-defined standard validation rules that are specific to the type of the field, or you can define your custom validations rules. Custom validation rules are defined as rule and error message expression pairs. When the validation rule expression fails (evaluates to false), the error message expression is evaluated and returned.


Ensure integrity of your data model

Altogic manages the dependencies across the models and fields of your data model design. Dependency information is useful, especially when you try to delete a field and/or model. In such a case, Altogic automatically identifies all dependencies to the model and/or field that will be deleted and provides a warning message.

Data structure
Data structure
CRUD endpoints

Automatically create CRUD endpoints of your data models

Altogic can automatically create the default CRUD (create, read, update and delete) endpoints and associated services for your permanent models. Automatic creation of these default endpoints and services can significantly speed up your development.

Try Altogic today

Powerful backend service development and execution platform
helping you to design, deploy and manage scalable web services.