Main usage of IndexedDB API is to store data locally on browser side, so that offline mode is supported, for eg. you should be able to read your already downloaded mails. This will make things faster and reduce network latency.
If I understand correctly what you want is a portable storage for quizzing. You do not want students to know the correct answer is till they answer a question. Now if you want them to answer and then evaluate the answer, then indexedDB is not a solution. It will make students write code/scripts to get the data from DB and cheat.
发布评论
评论(1)
IndexedDB API的主要用途是在浏览器端本地存储数据,以便支持离线模式,例如。您应该能够阅读已下载的邮件。这将使事情变得更快并减少网络延迟。
如果我理解正确的话,您想要的是用于测验的便携式存储设备。您不希望学生在回答问题之前知道正确答案。现在如果你想让他们回答然后评估答案,那么indexedDB不是一个解决方案。它将让学生编写代码/脚本来从数据库获取数据并作弊。
Main usage of IndexedDB API is to store data locally on browser side, so that offline mode is supported, for eg. you should be able to read your already downloaded mails. This will make things faster and reduce network latency.
If I understand correctly what you want is a portable storage for quizzing. You do not want students to know the correct answer is till they answer a question. Now if you want them to answer and then evaluate the answer, then indexedDB is not a solution. It will make students write code/scripts to get the data from DB and cheat.