-
Notifications
You must be signed in to change notification settings - Fork 46
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
Dynamic script / plugins #16
Comments
i've been thinking about the same, as I try to integrate bokeh.js plotting that I implemented for ITorch. |
I'm trying to decide on the approach. There's a few options here.
Does it cover all the essential scenarios? Would this support bokeh.js integration? |
script tags in raw html (point 1) do not get executed unless the script is in another file. I tried #14 in the hope of solving this but turns out i cant. eval is the only way one can execute javascript sent over the network (from my brief google searches), though you probably know better. |
and yes, either of (1), (2) or (3) would solve the bokeh.js integration. |
A dynamic plugin system would make the server even more versatile.
Instead of having a fixed set of commands, the client could instruct the browser to execute any Javascript thus loading plotting libraries on demand. This way the client would be able to extend the command set and we'd be able to add functionality through lua+js packages without having to update the display server and its static assets.
The text was updated successfully, but these errors were encountered: