Ad-Hoc Metadata

  • Use the notes field of each datebook record to store “user-fields”

    hotel: Wyndham Montreal
    hotelphone: +1.514.285.1450
  • Convert them to XML for down-stream use

    <user-field name="hotel">Wyndham Montreal</user-field>
    <user-field name="hotelphone">+1.514.285.1450</user-field>
  • It works, but...

    • There's no generality; every change has to percolate through the whole system

    • The metadata is second-class. I can get it out, but it's much harder to get in

    • The annotations are all independent, unless I also invent an ad-hoc relationship system