-
Notifications
You must be signed in to change notification settings - Fork 156
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
[Epic] Micro Frontends #2473
Comments
@DeepDiver1975 one missing bit in the diagram is that there is likely a "wrapping frontend" that contains the header, navigation, etc. We also need to see how extending the files app would fit into this.
|
From my understanding this is living in each app on it's own or there is a top level html which has some menu and loads the apps in iframes (or even as web components ..... see https://github.com/asc-lab/web-components-poc/blob/master/all-components-together/index.html) |
Any extension points within the files app might work on a different level .... but maybe even web components are of interest here as well ..... |
Configuration options on extension points are in detail described in #2573 |
this need to be part of the fileActions config as per #2573
We need to define this once we are there. As a design goal every phoenix extension/app shall be on pure config level in the first place. |
Next up:
|
More tasks to keep in mind in the future:
|
example implementation of minimal SPA is in here - https://github.com/DeepDiver1975/turbo-eureka Needs cleanup, review and proper baseline as start for any other SPA (vuecli plugin maybe ....) |
Background
I'd like to discuss a different approach to build phoenix to address more the requirements we will have in the future. The future backend (ownCloud Infinite Scale) will be based on a micro service architecture.
So new additional services can be added to add backend capabilities. But what about the frontend?
There is an approach to this called 'Micro Frontends'
Proposal for the first step where we are talking about isolated apps only
Proposal for deeper integration
Deeper integrations will be much more explicit to clearly defined extension points of specific apps. As per #2573 two extension points for the files app are defined.
References
https://medium.com/@witek1902/ui-in-microservices-world-micro-frontends-pattern-and-web-components-23607a569363
https://martinfowler.com/articles/micro-frontends.html
https://micro-frontends.org/
Commonly shared elements between SPAs
There are items in the system which will be used by every phoenix SPA.
The text was updated successfully, but these errors were encountered: