{"action":"created","issue":{"url":"https://api.github.com/repos/SitePen/dstore/issues/46","labels_url":"https://api.github.com/repos/SitePen/dstore/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/SitePen/dstore/issues/46/comments","events_url":"https://api.github.com/repos/SitePen/dstore/issues/46/events","html_url":"https://github.com/SitePen/dstore/issues/46","id":38958766,"number":46,"title":"Dojo-compliant, temporary stores to run tests","user":{"login":"mercmobily","id":2128734,"avatar_url":"https://avatars.githubusercontent.com/u/2128734?v=3","gravatar_id":"","url":"https://api.github.com/users/mercmobily","html_url":"https://github.com/mercmobily","followers_url":"https://api.github.com/users/mercmobily/followers","following_url":"https://api.github.com/users/mercmobily/following{/other_user}","gists_url":"https://api.github.com/users/mercmobily/gists{/gist_id}","starred_url":"https://api.github.com/users/mercmobily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercmobily/subscriptions","organizations_url":"https://api.github.com/users/mercmobily/orgs","repos_url":"https://api.github.com/users/mercmobily/repos","events_url":"https://api.github.com/users/mercmobily/events{/privacy}","received_events_url":"https://api.github.com/users/mercmobily/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-07-29T05:17:00Z","updated_at":"2015-01-31T02:42:35Z","closed_at":null,"body":"Hi there,\r\n\r\nI have finished developing the 12 stores where I cover all of the cases (ordered, unordered, filtered, unfiltered, defaultNewToStart true/false). It's 6 cached stores, and 6 uncached stores. I cover all of the possible use cases for the stores, which is nice. By doing that, I found #45 which was handy.\r\n\r\nMy question is: would it be helpful if I created a \"store testing\" application, that worked like that:\r\n\r\n1) You ask for a URL of this sort: http://example.com/createStores/SOME_UNIQUE_ID\r\n\r\n2) For 5 minutes, you have a bunch of stores you can use for testing; the stores will be 100% compatible with dstore (and therefore dgrid)\r\n\r\n3) I was thinking about some typical stores:\r\n - An easy \"people\" one, with \"name, surname, age\"\r\n - A store with a flag, like \"name, active\"\r\n - Anything else?\r\n\r\n4) After 5 minutes, the data is wiped from the stores and that unique ID is no longer usable\r\n\r\nI think it would be a great way for people to test stores and see dgrid's potential without setting up a whole server.\r\n\r\nHave you already thought of it? (Or maybe even done it?) Do you think it would be useful/helpful?"},"comment":{"url":"https://api.github.com/repos/SitePen/dstore/issues/comments/72301026","html_url":"https://github.com/SitePen/dstore/issues/46#issuecomment-72301026","issue_url":"https://api.github.com/repos/SitePen/dstore/issues/46","id":72301026,"user":{"login":"mercmobily","id":2128734,"avatar_url":"https://avatars.githubusercontent.com/u/2128734?v=3","gravatar_id":"","url":"https://api.github.com/users/mercmobily","html_url":"https://github.com/mercmobily","followers_url":"https://api.github.com/users/mercmobily/followers","following_url":"https://api.github.com/users/mercmobily/following{/other_user}","gists_url":"https://api.github.com/users/mercmobily/gists{/gist_id}","starred_url":"https://api.github.com/users/mercmobily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercmobily/subscriptions","organizations_url":"https://api.github.com/users/mercmobily/orgs","repos_url":"https://api.github.com/users/mercmobily/repos","events_url":"https://api.github.com/users/mercmobily/events{/privacy}","received_events_url":"https://api.github.com/users/mercmobily/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T02:42:35Z","updated_at":"2015-01-31T02:42:35Z","body":"Small update: I am working on JsonRestStores right now, so that it allows you to run the full store in memory. I am (finally) finishing off my work with JsonRestStores.\r\n\r\n1) For functional tests, I am adding support for in-memory stores (no mongo dependency). Without Mongo dependency, you can use JsonRestStores basically as a stand-alone module to have proper stores running. It's up to you if you want to use it in your tests...\r\n\r\n2) For \"play with data\" tests for end users (who can then use dgrid etc.), I will put a server online with sample (random) data so that people can play with it for a number of minutes and have fun with stores/dstore. I will also make it available as an npm package, so that they can have it locally too. It will make sense to link those from the documentation.\r\n\r\nWill let you know once I am done. I have got a bit of a way to go before JsonRestStores is properly finished.\r\n\r\n\r\n"}}