-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn Neos UI into a scaffold for Plugin/BackendModule integration #3119
Comments
So is our goal to make it work similar to the content module, that we have an outer module application and the module itself lives in an iframe and can optionally communicate with the "Neos backend app"? |
So i always wanted to know how the ui archives its superior behavior as content module. Because indeed its not just another backend module. Questions i had in mind.
this logic is deeply embedded to the module integration/rendering in Neos.Neos
because it is different / completely rebuild this for example is the
even the neos icon and the user select box are rebuild - everything is rebuild (see next question).
nope - fun fact it doesnt use the module api at all - we only declare it to be a module, so it pops up in the menu Neos:
Neos:
modules:
content:
label: 'Neos.Neos:Main:content'
controller: 'Neos\Neos\Ui\Controller\BackendController' one can still navigate to neos-ui/Configuration/Settings.yaml Lines 5 to 12 in e53f8e2
and this policy? it seems useless too (just tested without it): neos-ui/Configuration/Policy.yaml Lines 18 to 21 in e53f8e2
So why does the ui still work?It works because neos-ui/Configuration/Routes.Backend.yaml Lines 1 to 3 in e53f8e2
which uses the btw - the above linked controller in the module definition, will never be triggered that way. content:
controller: 'Neos\Neos\Ui\Controller\FooBarBuzController'
there is actually an backend module api for that see und nu?how can we improve with this in our mind the module api for 3rd party modules and for the ui itself? edit: as it seems this is already an improved step from the beginning. A lot was done via: neos/neos-development-collection@e96889a |
Motivation
Today, the Neos UI is a Single-Page-Application with a single route: The Content Module.
Yet, there's a lot more that would be perceived by end users as the "Neos Backend".
So far, we went with a hybrid approach to integrate Backend Modules. The Content Module is a React Application, while every other Backend Module is a pure Flow Application that's entirely rendered on the server side.
In part, this is desirable, because development of Custom Backend Modules should not require any knowledge in React (or even JavaScript for that matter). So, writing a Backend Module using just backend technologies should remain possible without any migration steps.
The purpose of this issue is to make the move to a more streamlined integration between Backend Modules and Neos UI.
This description will change over time, because this feature is still being conceptualized
Acceptance Criteria
TBD.
See also RFC on discuss https://discuss.neos.io/t/rfc-future-of-the-neos-package-architecture-neos-neos-in-particular/6593/8
The text was updated successfully, but these errors were encountered: