This part of the database is representing two different things
One web page should start with analysis_projects
as the query class - allowing for the user to enter
and match on its name (project_desc) ,
the badge number of the owner (badge_number)
or project_status.
It should display the resulting list of analysis_projects (showing each of the fields in this table) and using drill-down techniques so that the user may drill down on the field proj_snap_id.
This drill down page should start with project_snapshots
as the query class and allow the user to drill down to the project_definition
using drill-down on the proj_def_id
field, or to the list of files using drill-down on the proj_snap_id
field. This latter drill-down should cause a query page to retrieve
the list of project_files matching this proj_snap_id.
(to show the file names will involve a join in the query to display actual
files, but using the project_files table in
the join).
The 2nd web page should start by querying up consumed_files
(ie. files which have been 'consumed') by matching on any one of
their file_id, file_name, xxxx and querying the data_files table
using the consumed_files table.
Both of the tables data_files and consumed_files are involved in this.
When the consumed_files are displayed we should be able to drill down
to the process which actually did the analysis.
http://miscomp/misweb/interface-spec.html
For a database account - go to http://d0db.fnal.gov/d0db