Compiled Domain Model

  0 rating
CMS;Developers
1/14/2013 6:34:36 AM
4/17/2015 1:40:39 PM
Source: CDM source

About

The Compiled Domain Model module helps you create domain model classes based on your Sitecore templates and is capable of validating the model with Sitecore data at any given moment. 

If you have any issues with the Compiled Domain Model module, please report them to the Shared Source forum on SDN or contact the author directly (​http://hermanussen.eu/sitecore/CompiledDomainModel/Documentation/default.htm#chapter9 ).

Install the module using NuGet with the following command:
Install-Package CompiledDomainModel

Starting Points

Documentation

Documentation
  • Documentation > Getting Started with the Compiled Domain Model
    Getting Started with the Compiled Domain Model

     The CompiledDomainModel module helps you create domain model classes based on your Sitecore templates and is capable of validating the model with Sitecore data at any given moment. It is useful for 2 situations in particular:

        1. You need to ensure that references to fields are correct (e.g. in fieldrenderers). You can make the references hardcoded so that you will get compile-time errors if a reference is incorrect.
        2. You need to implement some business logic that relates to your Sitecore items. You will be able to use typed wrapper classes for your items and you can access fixed paths in the content tree (e.g. for configuration data).

    Some of the key features are listed here (for a more comprehensive list, check the release notes):

        * Generate typed wrapper classes using the code generator application within Sitecore
        * Generate a class structure based on items in the content tree that should not change (fixed paths), for easy and reliable access
        * Generate a database schema called DomainModelViews, that contains a view for each template (Sitecore fields will be columns)
        * Validate the domain model that is loaded at runtime and the fixed paths with the validator application within Sitecore

    For more information, please consult the documentation: ​http://hermanussen.eu/sitecore/CompiledDomainModel/Documentation/default.htm.

    There's also a video demonstration video available here: ​http://www.youtube.com/watch?v=ApngdILYpkA

     

    application

    0
Back
Release notes
The module was added 04-01-2011
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File