Re: [whatwg] File mode Database Storage
On Fri, Feb 18, 2011 at 1:49 PM, Narendra Sisodiya naren...@narendrasisodiya.com wrote: On Fri, Feb 18, 2011 at 1:39 PM, Jeff Schiller codedr...@gmail.comwrote: You have an odd definition of HTML5 only :) I admit my mistake that twFile and XUL are not HTML. I will read more on SQLite/WebSQL/IndexedDB. Let me ask more clear question. where exactly above database/storage techniques (websql/IndexedDB etc) store their data ? * Local File * Local browser cache or cookie or similar things * WebServer OR Is it possible to just READ and Display a database content from file ( Ex xyz.db) in index.html without having any server. (Ex - File mode).
Re: [whatwg] File mode Database Storage
On Fri, Feb 18, 2011 at 11:27 AM, Shwetank Dixit shweta...@opera.comwrote: On Fri, 18 Feb 2011 11:17:51 +0530, Narendra Sisodiya naren...@narendrasisodiya.com wrote: I am trying to create a Quiz application. I am thinking to adopt on Client-only mode rather Client server based. On in other words, I want that student can share Quiz using pen-drive/disk-drive/attachment and just open in firefox/chrome. I am using HTML5 only. No place for any non-FOSS/close technology. May you please help that this is possible or not ? One option would be using IndexedDB, though its a bit low level. Another option could be to use use WebSQL which basically uses sqlite. Though the standard is in impasse, its still supported in Opera, and webkit based browsers like chrome and safari. FF does not support it though. I can use any DB technology, Only point I have that will I be able to open or parse the DB content locally ? something will Quiz.html's javascript will load Quiz data from local database file like Quiz.db using JavaScript ?
Re: [whatwg] File mode Database Storage
On Fri, Feb 18, 2011 at 11:38 AM, Narendra Sisodiya naren...@narendrasisodiya.com wrote: On Fri, Feb 18, 2011 at 11:27 AM, Shwetank Dixit shweta...@opera.comwrote: On Fri, 18 Feb 2011 11:17:51 +0530, Narendra Sisodiya naren...@narendrasisodiya.com wrote: I am trying to create a Quiz application. I am thinking to adopt on Client-only mode rather Client server based. On in other words, I want that student can share Quiz using pen-drive/disk-drive/attachment and just open in firefox/chrome. I am using HTML5 only. No place for any non-FOSS/close technology. May you please help that this is possible or not ? One option would be using IndexedDB, though its a bit low level. Another option could be to use use WebSQL which basically uses sqlite. Though the standard is in impasse, its still supported in Opera, and webkit based browsers like chrome and safari. FF does not support it though. I can use any DB technology, Only point I have that will I be able to open or parse the DB content locally ? something will Quiz.html's javascript will load Quiz data from local database file like Quiz.db using JavaScript ? At the same Time, I cannot create these Quiz application for test or experimental API or feature, because a huge amount of Quiz to be generate which will be include for education of student at national level. So one should be able to open the Quiz files after 5-6 years too. -- ┌─┐ │Narendra Sisodiya │http://narendrasisodiya.com └─┘
Re: [whatwg] File mode Database Storage
On Fri, 18 Feb 2011 11:38:16 +0530, Narendra Sisodiya naren...@narendrasisodiya.com wrote: On Fri, Feb 18, 2011 at 11:27 AM, Shwetank Dixit shweta...@opera.comwrote: On Fri, 18 Feb 2011 11:17:51 +0530, Narendra Sisodiya naren...@narendrasisodiya.com wrote: I am trying to create a Quiz application. I am thinking to adopt on Client-only mode rather Client server based. On in other words, I want that student can share Quiz using pen-drive/disk-drive/attachment and just open in firefox/chrome. I am using HTML5 only. No place for any non-FOSS/close technology. May you please help that this is possible or not ? One option would be using IndexedDB, though its a bit low level. Another option could be to use use WebSQL which basically uses sqlite. Though the standard is in impasse, its still supported in Opera, and webkit based browsers like chrome and safari. FF does not support it though. I can use any DB technology, Only point I have that will I be able to open or parse the DB content locally ? Depends on the browser. Some (not all) browsers do allow you to see the contents of the db locally, at least when it comes to websql. I'm not so sure about indexeddb right now. Currently, websql has more browser support...but in the future, indexeddb might have the same level of browser support, if not more. something will Quiz.html's javascript will load Quiz data from local database file like Quiz.db using JavaScript ? -- Shwetank Dixit Web Evangelist, Site Compatibility / Developer Relations / Consumer Products Group Member - W3C Mobile Web for Social Development (MW4D) Group Member - Web Standards Project (WaSP) - International Liaison Group Opera Software - www.opera.com Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: [whatwg] File mode Database Storage
On Fri, Feb 18, 2011 at 11:54 AM, Shwetank Dixit shweta...@opera.comwrote: On Fri, 18 Feb 2011 11:38:16 +0530, Narendra Sisodiya naren...@narendrasisodiya.com wrote: On Fri, Feb 18, 2011 at 11:27 AM, Shwetank Dixit shweta...@opera.com wrote: On Fri, 18 Feb 2011 11:17:51 +0530, Narendra Sisodiya naren...@narendrasisodiya.com wrote: I am trying to create a Quiz application. I am thinking to adopt on Client-only mode rather Client server based. On in other words, I want that student can share Quiz using pen-drive/disk-drive/attachment and just open in firefox/chrome. I am using HTML5 only. No place for any non-FOSS/close technology. May you please help that this is possible or not ? One option would be using IndexedDB, though its a bit low level. Another option could be to use use WebSQL which basically uses sqlite. Though the standard is in impasse, its still supported in Opera, and webkit based browsers like chrome and safari. FF does not support it though. I can use any DB technology, Only point I have that will I be able to open or parse the DB content locally ? Depends on the browser. Some (not all) browsers do allow you to see the contents of the db locally, at least when it comes to websql. I'm not so sure about indexeddb right now. May I have list ? At least one browser support will do. Student can open XML files and check answers. This is why I am looking for local database as this will create the task relatively difficult. Also files are mostly self-assignment , just like normal book which always has answer at the end of book. so having access to answers will not make much issue. Currently, websql has more browser support...but in the future, indexeddb might have the same level of browser support, if not more. something will Quiz.html's javascript will load Quiz data from local database file like Quiz.db using JavaScript ?