Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The content repository is where all your content is been stored. It is the heart of eZ Publish which you interact with using Public API.

To store data, the content repository uses a storage engine, that can virtually can work with any kind of storage (RDBMS, NoSQL...). eZ Publish 5 comes with a relational storage engine, compatible with v4.x: the Legacy storage engine, which is the default.

You can define several repositories within a single application. However, you can only use one per site.

Version compatibility

Following configuration examples are compatible with eZ Publish 5.3 / 2014.03

Configuration examples

Using default values

ezpublish.yml

If no repository is specified for a siteaccess or siteaccess group, the first defined repository (under ezpublish.repositories) will be used.

All explicit

ezpublish.yml

Legacy storage engine

As of eZ Publish 5.3, legacy storage engine uses Doctrine DBAL (Database Abstraction Layer). Database settings are supplied by DoctrineBundle. As such, you can refer to DoctrineBundle's documentation.

ORM

Doctrine ORM is not provided by default. If you want to use it, you will need to add doctrine/orm as a dependency in your composer.json.

Limit of archived Content item versions

V5.4.10

default_version_archive_limit controls the number of archived versions per Content item that will be stored in the repository, by default set to 5. This setting is configured in the following way (typically in ezpublish.yml):

This limit is enforced on publishing a new version and only covers archived versions, not drafts.

 

 

  • No labels