Versions Compared

Key

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

An application app extension unlike an asset extension only allows a developer to either develop new endpoints (pages or APIs) or override existing endpoints. This is useful whenever a common page that is accessible by all asset types needs to be developed. As an example, the Store provides a top-assets view that displays the top assets for each of the asset types.

 

App extension components

An application may have one or more extensions as shown in the diagram above. However, it is advised to group all customizations into a single extension to improve maintainability. The following diagram illustrates the structure of an app extension:

...

  • The app.js script is a mandatory file unlike the asset.js file.

  • The asset extension allows partials to be altered without specifying a controller; whereas, in an app extension a controller must be present for the ES rendering framework to attempt to pick up resources in the themes directory.

Child pages (Children Display)