Dear Ben and Bastian,
Thank you very much for the feedback.
@Ben: Thank you for this error. I have not tried to dig deep in this error because it was just a prototype.
@Bastian: You got the server architecture correct. I am planning to do exactly same.
Coming to queries about using Bokeh: I agree that we are all-in to Bokeh. I also agree that it is good to have different modules for frontend and backend. But in that case we will be simply replicating Bokeh's backend (with much less features) and Bokeh's frontend (independently this time). I believe it will be like re-inventing the wheel.
Also, the features like simultaneous change in parameters in all connected documents are necessary when working with the hardware or even during simulation. Implementing this feature and some more like these will not be easy. Also, considering that Bokeh library includes all these in itself, I think it's implementation will be more efficient than what I will make. (This last statement is an assumption. Not sure how valid.)
So, I think now only issue is unreliability of the library. In other terms, if somehow in future Bokeh become obsolete, then this entire module will die. In order to become less dependent on this, we have to make a independent manual python based server and Plotly based frontend as suggested.
It means we have a trade-off between the scope of the project and reliability of Bokeh. I am not sure how good it is to develop something which already exists because of the possibility that the library will be obsolete one day. We can discuss on this.
Only reason, I am resistant to the idea of not using the Bokeh server is that the existing features and scope of the project will be reduced. Since, all the plots and widgets are necessary in order to make the module usable, limiting the plots will not be good enough. Although I am open to contributions on this module even after GSoC, this is not valid statement for the proposal in GSoC.
I am fully aware with the probable issues of having the external library as core dependency. I can also imagine the module having independent frontend and backend. But is it worth rewriting the code that exist in Bokeh?
If we still decide to go for independent backend and frontend, I will need one weekend to write full proposal for that. So, it would be good if we can conclude the discussion before this Friday.
Thank you very much for the suggestions.
|