☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Guidelines for minimal Web App to direct Bokeh

Community Support
Thomas_Lecocq
Thomas_Lecocq

Hi all,

for my work, I’m trying to make a small web app that will show some default plots (pre-made), but allow users to define custom parameters (station name, filter ID, start and end date of the analysis), process the data and plot the request.

I was wondering which direction to take ? How to pass events/request/parameters between the webpage and some service on the server side ?

Thanks a lot !

Tom

⌁   Link to post
Paddy_Mullen1
Paddy_Mullen1

How are you trying to serve up the requests? Django, flask, other?

I would run some serverside templating code that calls create_html_snippet for each template. look at URL dispatcher | Django documentation | Django

The more advanced way to do this is with client side url routing. Here is information about how to do that with the backbone.js framework . http://mrbool.com/backbone-js-router/28001

The problem with clientside url routing (which means that the user doesn't have to reload the page) is that now JS instead of python on the serverside is controlling the workflow. This is more interactive, but a bit trickier. It requires more understanding of js and frontend development. We will be making improvements to bokeh that let more of the bokeh-server be driven from JS. Right now, we aren't quite there. I am currently working on a similar project.

Paddy

···

On 2/16/14, 5:19 AM, Thomas Lecocq wrote:

Hi all,

for my work, I'm trying to make a small web app that will show some default plots (pre-made), but allow users to define custom parameters (station name, filter ID, start and end date of the analysis), process the data and plot the request.

I was wondering which direction to take ? How to pass events/request/parameters between the webpage and some service on the server side ?

Thanks a lot !

Tom
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/1437646f-0e88-4b48-9b9b-9ef77a1abf39%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/groups/opt_out\.

⌁   Link to post

End of archived discussion · Replies are disabled