api description (dynamic)

Topics: Customizing Orchard, Writing modules, Writing themes
Feb 17, 2011 at 8:48 PM


is there a description of the most common objects, methods and properties, especially which are created dynamically. For example I would like to know:

- Which information can I access from the different templates (document.cshtml, layout.cshtml, widget-, part, ...): Model[<zone>], Model.<object>, ...

- How does the framework work, which objects are (when) dynamically created? (flow of the framework)

- What are the most common used methods  (e.g. Script.Require, Style.Include, Display, ...) in a template? Which libraries must be included? (@using Orchard.Mvc.Html;
@using Orchard.UI.Resources;)

- How can I get data from the database or from an other module? (NHibernate or ADO.net)


I have red the documentation, but did not find answers to my questions.


If not available, is there a plan to describe it?


Feb 17, 2011 at 8:55 PM

We are doing work right now to give you that kind of information dynamically in a debugging tool.

As for getting data from the database, you should probably look at existing modules if the documentation wasn't enough.