View on GitHub

NEH Institute materials

July 2022

Home | Call | Admin | Week 1 | Week 2 | References | Slides | App development

Week 2, Day 2: Tuesday, July 19, 2022

Synopsis

Implementing publication strategies. The morning is devoted to typeswitch, an operator that helps us mimic XSLT template processing in XQuery. With typeswitch, we begin to develop the view components of the laboratory edition’s MVC architecture. In session two, participants return to the application in eXist-db and gain experience with application requirements for search and reading view features. To close out the day, we work on XQuery problems and concepts that appear in real life project issues.

Outcome goals

Legend


9:00–10:30: XQuery: model and view from the ground up

Edition repo stages for session

Time Topic Type
45 min Enhancing the title list model. Code lab
45 min Adapt the view to the model using typeswitch. Code lab

10:30–11:00: Coffee break

11:00–12:30: Search function

Edition repo stages for session

Time Topic Type
90 min Search interface. Code lab

12:30–2:00: Lunch

2:00–3:30: Putting MVC together: building the reading view

Edition repo stages for session

Time Topic Type
30 min The Model in action (article reading-view query). Code lab
30 min The View in action (article reading-view query). Code lab
30 min The Model, View, and Controller in action (article reading-view query). Code lab

3:30–4:00: Coffee break

4:00–5:30: XQuery topics + review

Time Topic Type
30 min Using regular expressions to clean and encode our data. Code lab
30 min Find all the TEI elements used / attribute values used / etc. Code lab
30 min GEOJSON for maps. Code lab

We’ll end each day with a request for feedback, based on a general version of the day’s outcome goals, and we’ll try to adapt on the fly to your responses. Links to the feedback forms are in our Slack workspace in the #daily-feedback channel (posting from Mason on Mon, July 11).