SwissDataScienceCenter / renku-jupyterlab-ts

A Renku extension for JupyterLab.
https://datascience.ch/solutions/#renku
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Architecture of Plugin #26

Open ciyer opened 4 years ago

ciyer commented 4 years ago

Description

The current architecture of the extension is not viable. The correct way to structure the extension is as a combination of client extension and server extension.

One model could be the Dask lab extension which uses the jupyter-server-proxy to manage the service.

References

rokroskar commented 4 years ago

For the backend, I suppose the only thing needed is to implement the load_jupyter_server_extension function that would start the flask core-service app.

rokroskar commented 4 years ago

Actually, we need to verify that a tornado app is not a requirement. From their docs it sounds like it is, but I don't see why it would need to be since it just needs to provide an API.

It seems there are three concepts here:

I think the difference between a jupyter server proxy and a jupyter server extension is that the latter may need to implement tornado handlers. Perhaps we can use a server proxy together with a jupyterlab extension though.