Versions Compared

Key

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

...

Model configuration based on existing configuration

  • The Problem: An easy way to start configuring
    • The user would like to create a business object such as a content app
    is to model
    • by basing it off of an existing content app
    . However, when there is a lot of configuration
    • When the configuration is large, it is difficult to tell what one configuration
    one one
    • has that the other
    doesn't and whether these differences are on purpose or by accident. One must also either scroll a lot to do the comparison or go through the annoyance of
    • may still need
    • It is tedious to create properties in the new business object to match the existing business object by hand or using duplicate/move
    • It is tedious to compare either by scrolling or by placing two windows next to each other
    .
  • The Solution:
    • In the Compare Config App, select the root node for the baseline business object on the left of the split view and the root for the new business object on the right
    • Use the colored rows which highlight the differences to easily tell what nodes and properties the baseline business object has that the new business object does not
    • Use actions supplied by the Compare Config App to quickly migrate these differences from the baseline business object to the new business object
    • Use the colored rows to review the differences between the baseline and new business objects to make sure all differences are on purpose
    • Use sample business objects supplied by Magnolia to get started quickly

Know what to export and write version handlers for

  • The Problem:
    • After doing many edits in the configuration tree
    to accomplish some
    • while working on a higher level goal, one is unsure what bootstrap files and/or version handlers need to be updated
  • The Solution:
    • Before starting on the higher level goal, one
    can compare the current tree with an export of the starting tree to easily see all the bootstrap files and version handlers that need to be updated.
    • exports a snapshot of the configuration tree
    • After working on the higher level goal, in the Compare Config App, one loads the snapshot of the tree in the left of the split view and the current tree on the right of the split view
    • Use the colored rows which highlight the differences to easily tell what configuration has changed and needs to be updated in bootstrap files/version handlers
    • Use export actions supplied by the Compare Config App to quickly create new bootstrap files

Check that bootstrap files and version handlers are correct

...