virtual classes

data model

  1. relations
  2. virtual classes
  3. versions
  4. content tables
  5. dynamic attributes

introduction

With Virtual Classes you can create your own kind of objects. For example, if you are a musician, you might want to create an “Album” object. If you are an architect you might want to create “Houses” and so on. Virtual classes behave like real classes: you can search for them, display them in fancy ways and create custom relations to other objects.

virtual classes in zafu

Display a list of all the houses in the current section:

<r:houses from='section' do='each' join=', ' do='link'/>