oerc-music / meld-clients-core

MELD Clients Core: Music Encoding and Linked Data
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Prefixes.js is not very robust (this may be policy as much as code) #19

Open DILewis opened 1 year ago

DILewis commented 1 year ago

The prefixes.js file sets up an object which associates prefixes with URL expansions to make typing and reading URLs in the code easier. This is declared as const. A few observations:

Note on motivation of this issue: We have, in the Beethoven in the House project an example where the traverser has been encapsulated within Vue native objects. In this use case, the devs felt it was easier and more robust to duplicate the prefix object and then extend it. This prompted discussion of what good, sustainable practice would be and how we could support it.