Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Robert Kranz edited this page Sep 11, 2013 · 3 revisions

As distinguished from standard rails, this framework has two kind of models, projection and domain models.
The domain model is representative for a resource and is only used for validations. A projection model only holds a specific view on the resource and is used for displaying content to the user.

Both are standard models inheriting from rails’ ActiveRecord::Base and dont need any methods besides the table_name definition.

Validations will be done in a extra class specific for commands.

Domain model should be set in domain/models and projection models in app/models

Clone this wiki locally