This repository has been archived by the owner on May 3, 2022. It is now read-only.
EZP-23147: As a developer, I want to be able to write plugins for the apps #100
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.
JIRA: https://jira.ez.no/browse/EZP-23147
Description
This PR is a follow up of #98 (EZP-23012) / #99 which allows the developer to write plugins for the applications provided by the PlatformUIBundle. Actually, it is more about refactoring existing code into plugins for the app which has the benefits of dividing the currently fat application into smaller components.
Like the plugins for the views, there's no particular class to extend to write a plugin for the app (except the YUI Plugin Base class of course). The app plugins added in this PR mostly deal with side tasks related to the application but that don't really belong to the application responsibility. In addition, a typical app plugin would add some routes and views to the application.
Note: this PR is done against the topic branch of #99.
Tasks
Dynamic app extension (like the admin part) ?more thinking is needed on that topic, will maybe be handled laterTests
manual + unit tests