O'Reilly logo

eZ Publish 4: Enterprise Web Sites Step-by-Step by Francesco Trucchia, Francesco Fullone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

eZ Publish content classes

Every type of content in eZ Publish has its own content class, but we have to clearly understand that a content class doesn't store any type of data; it represents a definition of a data structure.

For example, if our site shows some stories on the home page, these stories should be defined by an Article content class that is built on one or more attributes, such as Title, Body, and Publication date.

These attributes are called Class Attributes. As we can see in the following image from the eZ Publish documentation, these attributes are represented by a specific datatype (which is the smallest entity of storage) and describe how a specific content has to be retrieved, validated, and saved:

Class attributes

The class attributes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required