来自Indexeddb的Listview [英] Listview from Indexeddb

查看:101
本文介绍了来自Indexeddb的Listview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何从indexeddb源实现列表视图。


我正在尝试按照
http://msdn.microsoft.com/en-us/library/windows/apps/hh770849


然后我找到了一个非常简单的例子
http://stephenwalther.com/blog/archive/2012/05/24/metro-walkthrough-creating-a-task-list-with-a-listview-and-indexeddb.aspx


如果我的应用程序有一个庞大的数据库,那么从indexeddb获取listview的最佳方法是什么?




 


 

解决方案

如果您的数据库对于indexedDB而言太大,您可以将其存储在Web服务上。


您也可以考虑这一点:
http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx


-Jeff


Hi,

How to implement a listview from an indexeddb source.

I was trying to make a custom data source following the example in http://msdn.microsoft.com/en-us/library/windows/apps/hh770849

Then I found a very simple example here http://stephenwalther.com/blog/archive/2012/05/24/metro-walkthrough-creating-a-task-list-with-a-listview-and-indexeddb.aspx

If my app have a huge database, what is the best way to for listview from indexeddb?

 

 

解决方案

If you have a database too big for indexedDB you can store it on a web service.

You may also consider this: http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx

-Jeff


这篇关于来自Indexeddb的Listview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆