This site showcases two versions of a demo-application made to show some functionality of graphitejs, the framework created as part of Arne Hassel's master thesis.
The demo-application is a simple web-application that lists a table with tracks, the music group that created it, and the album which it's available on. It also loads a set of users, which filter the tracks they listens to.
Graphitejs requires the use of XMLHttpRequest Level 2, which is supported by most modern browsers (yes, even IE; at least IE9+).
Version 1 is built by using the API-module in graphitejs. This works like a facade-object, tying the two most important modules together, namely the Graph- and Query-module. In version 2 the facade is discarded, and the application uses the Graph-, Query-, and Loader-module directly.
This switching of modules are easily handled by require.js.
It uses several vocabularies, as listed below:
In addition, I created my own vocabulary, specific to these demo-application, prefixed ma and localized as http://example.org/music/v1#. The terms used are described below: