What is PouchDB?
PouchDB internally uses WebSQL and IndexDB to store data.
How does PouchDB work even Offline?
PouchDB works offline as good as online. While offline, PouchDB stores data locally using WebSQL and IndexedDB in the browser. When the application is back online, it is synchronized with CouchDB and compatible servers.
Using PouchDB, you can communicate with both local and remote databases seamlessly without noticing any difference.
Following is the most important features of PouchDB:
PouchDB is Cross-Browser: The API given by PouchDB can work same in every environment so you can run a PouchDB application in various different browsers. For example: Chrome, Firefox, Opera, Safari, IE and Node.js
PouchDB is Lightweight: PouchDB is a very lightweight API. You can include it very easily by using script tag.
PouchDB is easy to learn: PouchDB is very easy to learn but you have some programming skills.
PouchDB is Opensource: PouchDB is opensource and it is available on Github.
- PouchDB is extremelly fast because it resides inside the browser and there is no need to perform queries over the network.
- PouchDB facilitates you to synchronize the data with any of the supported server that?s why your app can run both online and offline.
Following is a list of browsers that support PouchDB:
- Firefox 29+ (Including Firefox OS and Firefox for Android)
- Chrome 30+
- Safari 5+
- Internet Explorer 10+
- Opera 21+
- Android 4.0+
- iOS 7.1+
- Windows Phone 8+