Data Types

Data types are used to describe how the object property values should be stored, displayed, and edited in the backend. You can manage them (add, edit, and delete) from the backend using the Administration/Data Types section:

../../_images/18.png

Data Type Fields

../../_images/26.png

Storage data type

It is the storage-level (real) data type that is used to store the property values of this Platformus-level data type. You can have multiple Platformus-level data types (with totally different purpose) with the same storage-level data type. For example, Single line plain text and Image data types both use string as storage data type.

JavaScript editor class name

It is the platformus.memberEditors JavaScript object’s property name. Another JavaScript object is assigned to this property. This object is used to build the client-side editors for the Platformus-level object’s properties of this data type. For example, please take a look at the singleLinePlainText editor.

When the object page is going to be displayed in the backend, editors for all the object properties are created. Each editor is created using such JavaScript object.

You can easily write your own JavaScript client-side editors and then use them in the standard or custom data types.

Name

Name is used to identify the data types in the backend.

Position

Position is used to sort the data types in the lists.