Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DARIAH-DE Aggregator Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DARIAH-DE
DARIAH-DE Aggregator Services
Commits
d8bd3000
Commit
d8bd3000
authored
11 years ago
by
Thorsten Vitt
Browse files
Options
Downloads
Patches
Plain Diff
Some requirements
parent
1c479aa8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NEW-STRUCTURE.md
+32
-0
32 additions, 0 deletions
NEW-STRUCTURE.md
with
32 additions
and
0 deletions
NEW-STRUCTURE.md
0 → 100644
+
32
−
0
View file @
d8bd3000
Goals
=====
Basically, we would like to have an interface as follows:
*
the REST interface should live in a small single class that then instantiates
the workers, so we could also setup a SOAP interface if we want
*
most of the argument handling etc. should be the same for all types of
export, so reuse it
*
usually, request processing contains of the following steps:
1. argument parsing & (offline) validation
2. argument validation (online), e.g. check whether referred objects
actually exist. Usually this involves fetching at least one object's
metadata in order to determine its format & potentially title for
the results.
3. Result header generation
4. Result body generation.
The first three steps should be as fast as possible, i.e. as few repository
interaction as possible, so we can reply fast. The fourth step will usually
be deferred to the time data is streamed (StreamingOutput's write method)
*
There are typical recurring tasks:
* caching of stylesheets
* calculating of Cache headers
* processing trees of documents
* generating filenames both for the result & for parts of it
* generating of TEIcorpus documents
* rewriting links
*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment