Skip to content
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

Support apps/plugins #2

Closed
DeepDiver1975 opened this issue Feb 21, 2018 · 5 comments
Closed

Support apps/plugins #2

DeepDiver1975 opened this issue Feb 21, 2018 · 5 comments

Comments

@DeepDiver1975
Copy link
Member

We need a clearly defined mechanisms to allow frontend apps to properly hook into phoenix.

At best we allow to reuse existing web front ends like built in the contacts app as example.

Please make sure the #1 applies in here as well.

@PVince81
Copy link
Contributor

The server must have authority about what frontend components/apps can be loaded for the current user. This means the frontend apps don't need to know about each other directly.

@PVince81
Copy link
Contributor

This also means that the frontend alone doesn't know anything about installed modules. The frontend brings in some modules in different paths as webpack bundle (one bundle per app/module) and the main page needs to query the server to find out what modules to load.

At development time we could provide a static JSON file on the dev server to be able to load modules for when no backend is available at all.

@felixheidecke
Copy link
Contributor

I am still working on an easy way to use vue.js's component system to serve extension points in phoenix. An API needs to tell phx what to load simply by populating an object little data.

Jet there still is the need to deploy frontend code and other assets on the frontend-server as well as backend-code to the core-server.

@felixheidecke felixheidecke changed the title [REQ] support apps/plugins Support apps/plugins May 3, 2018
@PVince81
Copy link
Contributor

PVince81 commented Jun 7, 2018

@felixheidecke please link with tickets / PR related to app loading

@DeepDiver1975
Copy link
Member Author

implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants