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

Bring client-side together with server side. #7

Open
EricBoix opened this issue Sep 1, 2021 · 1 comment
Open

Bring client-side together with server side. #7

EricBoix opened this issue Sep 1, 2021 · 1 comment

Comments

@EricBoix
Copy link
Contributor

EricBoix commented Sep 1, 2021

An implementation of client side (GUI/JS) usage of this component is located in the UD-Viz component:

What about moving that code within this Spatial-multimedia_db repository, and make it a JS package, and import that package to UD-Viz ?

The advantages would be:

  • one can GUI explore (explore with a GUI) the component usage
  • keep the client side-close to the server-side because they co-evolve
  • avoid polluting UD-Viz with this component (as opposed to e.g. some other implementation)

An alternative (proposed by @valentinMachado ) to the creation of a JS package would be for this server to expose its client side code to the client. UD-Viz would then dynamically (e.g. at Ud-Viz run time) download the client UI code from this server and dynamically integrate it in the UI.

Historical note

This issue use to live in UD-Serv repository

@valentinMachado
Copy link

valentinMachado commented Jun 2, 2023

@EricBoix actually my idea was pretty bad.. a better approach here as discussed in tech meeting would be to create inside this repository a javascript package. This package would have @ud-viz/browser as peerDependency, and would be builded in the same way as @ud-viz/browser (no css in sources, in a framework style to be reused in other project). We could also imagine to build an application base on this package in this repository to edit the database.

Here are the list of all the issues smdb related in ud-viz repo:

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

2 participants