Datatype

A specification for the type of data which can be stored in an attribute. Common datatypes are:

A CMS performs validation of data submitted by editors.

Data not successfully validating against the datatype of a particular attribute will be rejected and not stored by the CMS. The datatype of a particular attribute (1) maintains the integrity of the content enforces the content model, and (2) assists the CMS in selecting the interface to display for editors.

Validation often extends beyond the raw datatype of the attribute and examines the value of the submitted data. For instance, an attribute that represents the year a movie was released will have a datatype of "number," but will also necessarily have to be four digits, less than the current year, and greater than approximately 1900.

Related Chapters

Have a question, comment, or objection? Please contact the author at deane@blendinteractive.com. Be sure to check the To Do List first.

“Contentful

Understand your CMS. Cut through the buzzwords. Order Web Content Management today.

Order Now
Back to Top

Brought to you by

“Contentful