W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2011

Re: ISSUE-93: Should the RDF API support persistent storage?

From: Nathan <nathan@webr3.org>
Date: Thu, 21 Apr 2011 23:14:53 +0100
Message-ID: <4DB0AC5D.4080301@webr3.org>
To: benjamin.adrian@dfki.de
CC: public-rdfa-wg@w3.org
Hi Benjamin,

This could be a different approaches kind of thing, rather than having 
everything implemented and hidden by a core interface you access via 
RDF, I'd very much been viewing it as defining the minimum requirements 
for each interface, then allowing implementations to add whatever 
features they wanted.

Practically speaking this would allow the following approaches:

  var g = new PersistentGraph;

or
  var g = lib.getGraph(url);

or
  var g = lib.getPersistence();

or
  store.persist(g);

Which seemed a little more flexible, whilst maintaining interop.

Best,

Nathan

Benjamin Adrian wrote:
> What I propose, is just to provide the possibility to define
> the persistence strategy in our API explicitly.
> 
> e.g.,
> rdf.setPersistence(rdf.IN_MEMORY_PERSISTENCE)
> rdf.setPersistence(rdf.LOCAL_PERSISTENCE, file)
> rdf.setPersistence(rdf.REMOTE_PERSISTENCE, url)
> 
> rdf.getPersistence() // returns one of these three strategies
> 
> It does not mean, that implementers have to support all three strategies.
> But it would developers explicate how the RDF data is stored.
> 
> 
>> RDF Web Applications Working Group Issue Tracker wrote:
>>> ISSUE-93: Should the RDF API support persistent storage?
>>>
>>> http://www.w3.org/2010/02/rdfa/track/issues/93
>> from the archives:
>> http://lists.w3.org/Archives/Public/public-rdfa-wg/2010Nov/0029.html
>>
>>
> 
> 
> 
> -----------------------------------------
> This email was sent using SquirrelMail.
>    "Webmail for nuts!"
> http://squirrelmail.org/
> 
> 
> 
> 
Received on Thursday, 21 April 2011 22:15:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:51 UTC