Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Persistency #2

Open
DiegoPino opened this issue Apr 2, 2017 · 0 comments
Open

Resource Persistency #2

DiegoPino opened this issue Apr 2, 2017 · 0 comments

Comments

@DiegoPino
Copy link
Member

DiegoPino commented Apr 2, 2017

Persistent Storage will be handled by a special storage provider interface derived class/classes. The main idea is that an existing -> freshly created Resource Object will be serialized, its URL and hash (dual keys) used as a search index for the persistency storage index provider (allowing, if needed, the persistent storage service provider to handle Indexing (searching for) and Setting and Retrieving the payload as separate, maybe even under different technologies, but unified as interface access.

RDF Resources will be described by one Object and persisted as a Single payload representation (JSON-LD or at least provided as such by the Storage Provider)
Non RDF Resouces will be described by Two Objects, on equally as RDF Resources and one extra with the Binary Payload. Means 2x Objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant