如何使一个Angular.js应用的离线与服务器同步时可用 [英] how to make an Angular.js app offline with server sync when available

查看:121
本文介绍了如何使一个Angular.js应用的离线与服务器同步时可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时寻找一种方法或处理这个库。这个想法是在localStorage的和同步数据存储到后端,当连接可用, http://pouchdb.com/ 看起来像一个很酷解决方案,但任何人有使用它的生产?谢谢


解决方案

还没有使用过,但熟悉瓦特/从.NET的其他产品BreezeJS背后的概念

。检查出来 http://www.breezejs.com/ 和这里的病房贝尔$ P $它psenting到的Google
<一href=\"http://www.youtube.com/watch?v=P2ErSQj3SN8&feature=player_profilepage\">http://www.youtube.com/watch?v=P2ErSQj3SN8&feature=player_profilepage

im looking for an approach or a library that handles this. the idea is to store data in localstorage and sync to the backend when a connection is available, http://pouchdb.com/ looks like a cool solution but anyone has use it on production?. thanks

解决方案

Haven't used it yet, but familiar w/ the concepts behind BreezeJS from their other offerings in .NET. Check it out http://www.breezejs.com/ and here's Ward Bell presenting it to the Googlers http://www.youtube.com/watch?v=P2ErSQj3SN8&feature=player_profilepage

这篇关于如何使一个Angular.js应用的离线与服务器同步时可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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