[英]PouchDB & ANGULARJS - best way to design
我想知道在我的应用程序中使用pularDB与AngularJS的最佳方法。
我想从pouchDB中获得的是在开始时构建从远程数据库复制的数据库,然后它必须监听更改并与控制器数据一起更新UI。
好吧,我推荐ReactJS + MobX + PouchDB,而不是AngularJS。 我已经实现了这个技术堆栈,我非常满意。
MobX有一个与ReactJS一起使用的模块 。 MobX听与应用状态变化observables与和更新UI observers 。 观看此视频 ,了解其工作原理。
observables
observers
[英]AngularJS factory promises and PouchDB
[英]Efficient DB design with PouchDB/CouchDB
[英]AngularJS: Best way to watch dimensions?
[英]AngularJS : Best way to use directive
[英]Best way to write DI in AngularJS?
[英]Best way to integrate captcha in angularJS
[英]AngularJS PouchDB change-listener
[英]Factory design pattern with AngularJS, is this the right way?
[英]Best way to design a model for the store for a array?
[英]Best Way to reliably work on Responsive Design
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.