R. S. Doiel, rsdoiel@caltech.edu
Caltech Library, Digital Library Development
July 14, 2023
How do we make building web applications for Libraries, Archives and Museums simpler?
What are trade-offs?
CSV file, Pandoc, 2 directories, 5 files, 75 total line count, static site
Lines | Files |
---|---|
26 | README.md |
4 | birds.csv <– this is used in each of the demos |
6 | build.sh |
7 | page.tmpl |
32 | htdocs/index.html |
SQL (Postgres + PostgREST), Browser JavaScript, 2 directories, 8 files, 232 total line count, dynamic site
Lines | Files |
---|---|
29 | README.md |
4 | birds.csv <– from birds1 |
34 | setup.sql |
60 | models.sql <– implements our data models |
15 | models_test.sql |
3 | postgrest.conf |
24 | htdocs/index.html <– hand coded |
63 | htdocs/sightings.js <– hand coded |
SQL (Postgres + PostgREST), Pandoc, Newt, 1 directory, 9 files, 225 total line count, dynamic site
Lines | Files |
---|---|
43 | README.md |
4 | birds.csv <– from birds1 |
34 | setup.sql <– from birds2 |
60 | models.sql <– from birds2 |
15 | models_test.sql <– from birds2 |
3 | postgrest.conf <– from birds2 |
23 | birds.yaml |
36 | page.tmpl |
7 | post_result.tmpl |
The Newt stack can scale really big
A very mature foundation