510 likes | 677 Views
A Distributed Metadata Architecture Tony Hammond, Nature Handle System Workshop 17 June 2008. Scenario. Puzzle. Solved. Handle. Services. OpenHandle. Put Handle on the Web – Access via a Web Service (:2641 :80) Make Handle an Easy Read – Expose Values as Markup
E N D
A Distributed Metadata ArchitectureTony Hammond, NatureHandle System Workshop17 June 2008
OpenHandle • Put Handle on the Web – Access via a Web Service (:2641 :80) • Make Handle an Easy Read – Expose Values as Markup (55 52 4C “type” : “URL”)
OpenHandle • 1st Announce (Service) – Mar 26, ’03 • 2nd Announce (Service) – Feb 5, ’08 • Google Code (Project) – Mar 7, ’08
RDF/XML - ‘Full’ Form JSON - ‘Compact’ Form
JavaScript var h = { … }; var hv = h[“handleValues”]; var s = “”; for (var i = 0; i < hv.length; i++) { var v = hv[i]; s += “ index = “ + v[“index”]; s += “ type = “ + v[“type”]; s += “ data = “ + v[“data”]; }