Skip to content

Web based Viewer Proposal

Steven Silvester edited this page Feb 15, 2015 · 4 revisions

Proposal

  • Use Matplotlib as the figure and the webagg backend as inspiration.
  • Use New Matplotlib-based canvas widgets.
  • Use Tornado and Websockets - modeled after webagg.
  • Use jquery.dform (MIT License) to create the form as described here.

Enhancements

  • Use onchange and oninput jQuery events to add interactivity.
  • Add IPython support using nbagg as example.

Open Questions

  • Should the viewer use an MVC framework? - yes, Tornado - see matplotlib
  • Library for "standard" widgets? For example, jQuery UI? - jquery.dform uses jQuery UI, but allows you to specify the form using JSON, which means we can dynamically create the content from Python.