... | ... | @@ -21,7 +21,7 @@ To allow flexibility with respect to ontology and workflow supported, the applic |
|
|
|
|
|
A guiding principle during development has been to separate the general from the specific, so that the front end in principle should be able to handle any type of resource in a structure, not only _Work_ and _Publication_, but e.g. Buildings and Floors. "Publication" and "Work" are therefore mentioned as rarely as possible in the code, but it has not been totally avoided. One could argue that the mindset has been kept, however. To support the principle above, all specific behavior is configured in the file `workflow_config.js`, which is served by the back end. The configuration file describes which predicates from the ontology goes to which tab in the workflow, the order of the predicates, and other necessary configurations like how to search for relevant values when linking to authorities, which fields should be shown when creating new authorities etc.
|
|
|
|
|
|
Following the from above, all solutions are designed to be as generic as possible, even if used only once. The separation of code and configuration means that it should be fairly easy to adapt to another workflow or ontology, simply by replacing the configuration file or parameterize it, supporting other needs.
|
|
|
Following from above, all sub solutions are designed to be as generic as possible, even if used only once. The separation of code and configuration means that it should be fairly easy to adapt to another workflow or ontology, simply by replacing the configuration file or parameterize it, supporting other needs.
|
|
|
|
|
|
The user interface is constructed with the help of one from of a handful of _templates_. The most important being `workflow.html`, while the entry point to the application is via the `menu.html`template. Other templates are `edit_authority.html` which is used to edit all fields relevant for a resource type, in addition to comparing and merging two resources, and `report.html`, which presents the data from all tabs as one sectioned page, for an overview over catalogue data describing a Publication.
|
|
|
|
... | ... | |