hierarchical database display


I was looking at creating hierarchical database display such as the one lepbase uses

Any suggestions?


I would look into jQueryUI or such for the widget. You will want to generate HTML according to how the widget wants (as would be shown in a tutorial / example). And you may need a line or two of JS to kick-start the widget.

On the server you can access an Array of all database objects by calling Database.all (see routes.rb and search.erb for how SequenceServer makes use of this data). Using the file name or so, it will be possible to group the databases by species etc. and generate the desired HTML.

— Priyam