Add Shapes documentation#19354
Open
agriffard wants to merge 3 commits into
Open
Conversation
Piedone
requested changes
Jun 7, 2026
|
|
||
| If you come to Orchard Core from classic ASP.NET MVC, the first thing that surprises you is that there are almost no fixed view models. A page is not a single strongly-typed `Model` rendered by a single `.cshtml`. Instead, the page is a **tree of shapes** — small, dynamic objects that each know how they want to be displayed, assembled at runtime and rendered into HTML. | ||
|
|
||
| Shapes are the single most important concept in Orchard Core's UI layer. Once they click, the whole theming and customization story makes sense. This page explains what a shape is, how the rendering pipeline turns it into HTML, and why alternates and placement give you so much control without touching code. |
Member
There was a problem hiding this comment.
I think it would be useful to explain why we aren't using static view models for content display, and why we still use them usually otherwise.
Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #19350
Add a sub menu in "Display Management" to explain the concept of Shapes and how it is used in Orchard Core.