Next 2.1 Defining component model Prev

Defining component model

The first thing we want in a new project is to define its model.

The default model looks like:

% bin/admin/list-model
Publishable
  Edition
  Section
  Article

model details...

This is done by creating perl class for each component.

Our goal is this component model:

% bin/admin/list-model
Publishable
  Page
    Center
    Section
    ItemPage
      Article
      Product
  ArticleSet
  User
  UserSet
  Address
    BillingInfo
  ProductSet

model details...

Next Content Management with Podius Prev