Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the case of Magnolia, where flexibility is very important, MVP opens up possibilities to augment or customize the UI by overriding only one element of the triad.

...

  • Using definitions: the user interface should be as configurable as possible so that all MVP triads would consume a definition (a form, dialog or content view) and produce a UI component.
  • Keeping views back-end-agnostic as much as possible: the business logic related to the back end, in most cases to JCR, should be replaceable with similar implementations for other back ends. This typically boils down to overriding a presenter.
  • Re-usabilityReusability: we want to let the developers use the parts of our UI in various custom contexts and compositions.

...