{"action":"created","issue":{"url":"https://api.github.com/repos/zazukoians/rdf-ext/issues/35","labels_url":"https://api.github.com/repos/zazukoians/rdf-ext/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/zazukoians/rdf-ext/issues/35/comments","events_url":"https://api.github.com/repos/zazukoians/rdf-ext/issues/35/events","html_url":"https://github.com/zazukoians/rdf-ext/issues/35","id":102382018,"number":35,"title":"Decoupling Stores from the library and repo","user":{"login":"nicola","id":1424850,"avatar_url":"https://avatars.githubusercontent.com/u/1424850?v=3","gravatar_id":"","url":"https://api.github.com/users/nicola","html_url":"https://github.com/nicola","followers_url":"https://api.github.com/users/nicola/followers","following_url":"https://api.github.com/users/nicola/following{/other_user}","gists_url":"https://api.github.com/users/nicola/gists{/gist_id}","starred_url":"https://api.github.com/users/nicola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicola/subscriptions","organizations_url":"https://api.github.com/users/nicola/orgs","repos_url":"https://api.github.com/users/nicola/repos","events_url":"https://api.github.com/users/nicola/events{/privacy}","received_events_url":"https://api.github.com/users/nicola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-21T13:43:54Z","updated_at":"2015-08-21T13:45:05Z","closed_at":null,"body":"I find this work really clever, and I want to be using this in my future rdf projects.\r\n\r\nHowever, most of the fiddling I have been doing has been in the browser, and I hate load the ENTIRE library (after browserifying it) to only get one of the stores (in-memory store).\r\n\r\nThe purpose of this library should be to provide **help** for others to write their own stores and not really ship different implementations (or at least they should be shipped in different packages).\r\n\r\nSo I did the following. I packaged every store I have seen online, in this repo and in others - so that other users can just require what they want (*the node spirit, no?*):\r\n\r\n- [rdf-store-abstract](https://www.npmjs.com/package/rdf-store-abstract)\r\n- [rdf-store-fs](https://www.npmjs.com/package/rdf-store-fs)\r\n- [rdf-store-inmemory](https://www.npmjs.com/package/rdf-store-inmemory)\r\n- [rdf-store-singlegraph](https://www.npmjs.com/package/rdf-store-singlegraph)\r\n- [rdf-store-sparql](https://www.npmjs.com/package/rdf-store-sparql)\r\n- [rdf-store-ldp](https://www.npmjs.com/package/rdf-store-ldp)\r\n- [rdf-store-rdfstore-js](https://www.npmjs.com/package/rdf-store-rdfstore-js)\r\n\r\nIn this way, we don't only decouple the code of different implementation from the library and this repo, but we also foster a whole new community of developers writing their own `rdf-store` packages - maybe a MongoDB one ? (that I actually need)\r\n\r\nI am happy to work out a PR that would remove all the code in `rdf-ext`, add you guys in the repos and npm packages and/or move these packages under `/rdf-js`\r\n\r\nCiao\r\n"},"comment":{"url":"https://api.github.com/repos/zazukoians/rdf-ext/issues/comments/133428464","html_url":"https://github.com/zazukoians/rdf-ext/issues/35#issuecomment-133428464","issue_url":"https://api.github.com/repos/zazukoians/rdf-ext/issues/35","id":133428464,"user":{"login":"nicola","id":1424850,"avatar_url":"https://avatars.githubusercontent.com/u/1424850?v=3","gravatar_id":"","url":"https://api.github.com/users/nicola","html_url":"https://github.com/nicola","followers_url":"https://api.github.com/users/nicola/followers","following_url":"https://api.github.com/users/nicola/following{/other_user}","gists_url":"https://api.github.com/users/nicola/gists{/gist_id}","starred_url":"https://api.github.com/users/nicola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicola/subscriptions","organizations_url":"https://api.github.com/users/nicola/orgs","repos_url":"https://api.github.com/users/nicola/repos","events_url":"https://api.github.com/users/nicola/events{/privacy}","received_events_url":"https://api.github.com/users/nicola/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T13:45:05Z","updated_at":"2015-08-21T13:45:05Z","body":"Just a little example:\r\n\r\n```javascript\r\nvar LdpStore = require('rdf-store-ldp')\r\nvar rdf = require('rdf-ext')\r\n\r\nvar store = new LdpStore(rdf, options)\r\n```"}}