离子型架构同步数据和离线工作离线、离子、架构、数据

由网友(心碎無痕)分享简介:我用离子框架开发一个应用程序,它会读取来自其使用laravel建立了一个API的一些数据,将其保存在数据库中,以便当用户处于脱机状态,他可以继续使用该应用程序,我做了一点在互联网上的研究,发现了一个名为pouchDB的插件,它是建议我需要什么?什么是做到这一点的最好方法是什么?I'm developing an ap...

我用离子框架开发一个应用程序,它会读取来自其使用laravel建立了一个API的一些数据,将其保存在数据库中,以便当用户处于脱机状态,他可以继续使用该应用程序,我做了一点在互联网上的研究,发现了一个名为pouchDB的插件,它是建议我需要什么?什么是做到这一点的最好方法是什么?

I'm developing an app using ionic framework, and it will fetch some data from an API which was built using laravel, save it in a database so when the user is offline he can continue use the app, I did a little research on the internet and found a plugin called pouchDB, is it recommended for what I need? what is the best way to do it?

推荐答案

PouchDb是确保一个很好的解决方案,提供数据同步到你的应用程序。 但是,这取决于从什么你需要做的,你可以数的PaaS提供本地数据同步和离线功能(以及许多其他的功能,如oAuth2认证和推送通知)之间进行选择。

PouchDb is sure a good solution to provide data synchronization to your app. But depending from what you need to do you could choose between several PaaS that provide natively data synchronization and offline capabilities(along with many other features like oAuth2 authentication and push notification).

我和几个我可以建议的工作:

I have worked with a few i can suggest:

解析 火力地堡 微软Azure移动服务 Parse Firebase Microsoft Azure mobile services

所有这些平台为客户提供所有本地移动环境和JavaScript来的工作。

All these platforms provide clients to work with for all native mobile environments and javascript.

阅读全文

相关推荐

最新文章