Presentation is loading. Please wait.

Presentation is loading. Please wait.

Logbooks/Notebooks for Hall D E.Wolin Indiana University 14-Dec-2002.

Similar presentations


Presentation on theme: "Logbooks/Notebooks for Hall D E.Wolin Indiana University 14-Dec-2002."— Presentation transcript:

1 Logbooks/Notebooks for Hall D E.Wolin Indiana University 14-Dec-2002

2 LogbookNotebook Entries Many simple Few complicated Entry speed Rapid Carefully crafted Entry value Short term Long term Topology Directed graph Linear ThreadsMultipleSingle Logbooks vs Notebooks

3 Hall D Desiderata Integrated – online, offline, detector, etc.Integrated – online, offline, detector, etc. Best features of logbook and notebookBest features of logbook and notebook Multiple, parallel logbooks with cross-referencesMultiple, parallel logbooks with cross-references Multiple threads, locking, annotationMultiple threads, locking, annotation Problem tracking/resolution facilityProblem tracking/resolution facility Automatic entriesAutomatic entries Images, other mime-types uploaded and stored locallyImages, other mime-types uploaded and stored locally

4 Desiderata, con’t Screen capture possibleScreen capture possible Database driven, Perl/JDBC accessibleDatabase driven, Perl/JDBC accessible Extensive searching capabilityExtensive searching capability Summary, detailed viewsSummary, detailed views Web/servlet (vs application) basedWeb/servlet (vs application) based (Re)Configurable via XML(Re)Configurable via XML

5 Existing Projects Fermilab Control Room logbookFermilab Control Room logbook –Java app: http://www.hep.net/hepnrc/LogBook.html http://www.hep.net/hepnrc/LogBook.html JLab Accelerator logbookJLab Accelerator logbook –Web/Tcl app based: http://devweb.acc.jlab.org/CSUEApps/elog02 http://devweb.acc.jlab.org/CSUEApps/elog02 ORNL, PNNL, Midas notebooks (web,applet,web)ORNL, PNNL, Midas notebooks (web,applet,web) –E.g. ORNL used by CLAS: http://clasweb.jlab.org/ENOTE http://clasweb.jlab.org/ENOTE CODALOG at JLabCODALOG at JLab –Web based, see below There are others…There are others…

6 CODALOG Design Entry data for all logbooks in one set of tablesEntry data for all logbooks in one set of tables All navigation info in separate tablesAll navigation info in separate tables Use database functions to hide tricky bitsUse database functions to hide tricky bits Configure via XML fileConfigure via XML file Built-in threads: type, topic, subtopicBuilt-in threads: type, topic, subtopic Explicit named threadsExplicit named threads Minor threads (head is unique)Minor threads (head is unique) Each entry associated with a “primary” logbookEach entry associated with a “primary” logbook

7 CODALOG Status Prototype stagePrototype stage Database design completed (Postgres)Database design completed (Postgres) XML configuration working (via Perl)XML configuration working (via Perl) Database programming mostly doneDatabase programming mostly done Initial Java database access class workingInitial Java database access class working Velocity based (template rendering)Velocity based (template rendering) Needs web design and templatesNeeds web design and templates Tested with CLAS online logbook dataTested with CLAS online logbook data

8 CODALOG References CLAS XML configCLAS XML config – http://coda.jlab.org/codalog/test/hallb.cfg http://coda.jlab.org/codalog/test/hallb.cfg DatabaseDatabase –http://coda.jlab.org/codalog/admin/createdb.sql http://coda.jlab.org/codalog/admin/createdb.sql Java access classJava access class –http://coda.jlab.org/codalog/admin/codalog.java http://coda.jlab.org/codalog/admin/codalog.java Rendering classRendering class –http://coda.jlab.org/codalog/test/vtest.java http://coda.jlab.org/codalog/test/vtest.java Example Velocity templateExample Velocity template –http://coda.jlab.org/codalog/test/vtest.vm http://coda.jlab.org/codalog/test/vtest.vm Example renderingExample rendering –http://coda.jlab.org/codalog/test/hallb.html http://coda.jlab.org/codalog/test/hallb.html

9 Summary and Conclusions CODALOG mostly meets Hall D criteriaCODALOG mostly meets Hall D criteria DB design fine, proof will be in the GUIDB design fine, proof will be in the GUI Not ready yet, initial version perhaps soonNot ready yet, initial version perhaps soon –Is anyone willing to help? Other products very good but do not meet H-D criteriaOther products very good but do not meet H-D criteria Do we need something right now?Do we need something right now? –If so, use ORNL notebook –If not, wait for CODALOG


Download ppt "Logbooks/Notebooks for Hall D E.Wolin Indiana University 14-Dec-2002."

Similar presentations


Ads by Google