Using a groovy builder (DSL) we could make the paragraph definition very concise
- include the dialog definition in the paragraph definition
- add a closure for rendering the content
|example: text and image paragraph|
What we get:
- no configuration (update, ...)
- a single concise definition (all in one place)
Note: this will not replace any other ways of defining paragraphs or dialogs its just a groovy alternative. But since we allow pragmatic registration of dialogs, paragraph, ... in Magnolia 5.0 such an implementation should be rather trivial.