Chapter 12. Storing app data
This chapter covers
- Storing data in a variety of ways
- Using the HTML5 localStorage API
- Porting the TodoMVC project to run locally with NW.js and Electron
Applications need to store data; when you’re playing a game and loading from a saved level, or configuring settings for how you use a particular app, or even storing structured data in a line-of-business app, data must be stored somewhere and must be accessed by the app with ease.
Options for how to store data in your app range from using the HTML5 localStorage API to using embedded databases in your desktop app. In this chapter, we’ll explore some options and see how you can use them with your desktop apps.
12.1. What data storage option should I use? ...
Get Cross-Platform Desktop Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.