- From: Matteo Collina <matteo.collina@gmail.com>
- Date: Sat, 12 Oct 2013 12:51:48 +0200
- To: Henry Story <henry.story@bblfish.net>
- Cc: "public-rdfjs@w3.org" <public-rdfjs@w3.org>
- Message-ID: <CAANuz57GjxvaZ--9ee0+r=Ar=YtjdJMy=4GNfd+cKoM_Fk8kzQ@mail.gmail.com>
Hi Henry,
You might want to check out https://github.com/mcollina/levelgraph, it
works on both node.js and the browsers with IndexedDB (it can also run
in-memory only).
Cheers,
Matteo
2013/10/12 Henry Story <henry.story@bblfish.net>
> Hi,
>
> In order to write professional JS applications one requires
> a good MV* framework [1], such as those provided by backbone
> for the modelling, and views, Handlebars.js [3] for templating, ...
>
> What frameworks exist in RDF land to make the model be
> RDF/Linked Data based?
>
> I know of Antonio Garrote's rdfstore-js [4] and his
> semantic-ko [5] MV* framework. the semantic-ko has not
> been developed for a while.
>
> What other frameworks are there? What feedback do
> people have about them?
>
> Here are some things that I think would be important for
> RDF Linked Data Protocol compliant framework:
>
> 1. One should be able to follow through links accross graphs.
> That is: imagine I have some graph <doc1> which contains
>
> { <doc1#me> foaf:knows <doc2#her> . }
>
> and I have a PNG(<doc1>,<doc1#me>,doc1graph), pointing
> into the gr graph at <doc1#me>, then following pg1.find(foaf.knows)
> should give me a PointedGraph where the graph comes from <doc2> and the
> pointer is <doc2#her> in that graph, that is
>
> PNG(<doc2>,<doc2#me>,doc2graph)
>
> This should be done transparently.
>
> The advantage of this over usual JSon systems is very big as
> it makes it easy to split information up, using cashes.
>
> 2. It should be very easy for the client to know what the access
> rights are for each MVP ( so it can decide for example wether it
> can allow editing of it, or whether it needs to have a error correction
> mode on a different view.
>
> 3. Local storage would be important
>
> 4. the system should be LDP based [6] ( core implementation of LDP only,
> some
> pieces like propertyXXX are still up for discussion on that list )
>
> 5. because of CORS there needs to be a way to work with remote resource by
> going through
> the server
>
> We have a lot of code using backbone and so ideally are looking
> for something that would work better with that framework. If someone
> wishes to work on this please let me know.
>
> Henry
>
> [1] very good article on this
>
> http://addyosmani.com/blog/understanding-mvc-and-mvp-for-javascript-and-backbone-developers/
> [2] http://backbonejs.org/
> [3] http://handlebarsjs.com/
> [4] https://github.com/antoniogarrote/rdfstore-js
> [5] https://github.com/antoniogarrote/semantic-ko
> [6] https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp.html
>
> Social Web Architect
> http://bblfish.net/
>
>
>
Received on Saturday, 12 October 2013 10:52:35 UTC