I've recently learned about Electron, and given I have a rather well amount of knowledge of HTML, CSS, and Javascript, I decided to take a look at it. When I normally make web applications I use MySQL for storing user data mostly through PHP. I noticed Electron doesn't support PHP files like a normal browser does, so I'm curious as to what the best method for saving user data actually is. I read Electron allows for interaction of files like a real application does unlike web apps, but I feel like there's another way. Is there any "standard" when it comes to stuff like this?
Electron - How to save information?
1.7k Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in ELECTRON
- Electron default app doesn't change
- Context menu click/open event with Atom Shell/Electron?
- How to use the <webview> methods in Electron
- Execute createShortcut in a Squirrel event, in an Electron app
- How to watch files in Electron App?
- How to pass command line argument in electron
- ERROR: when installing electron?
- Error messages and console logs in Electron?
- Electron (atom shell) window getting closed on its own after some time
- How to pass the data from one js file to another react.js file
- Run/Install ruby gem from io.js with child_process
- Best way to read from a big CSV file without loading everything to memory using Javascript
- Grouping child processes in node-webkit or atom/electron
- Uncaught Error: process.binding is not supported (when developing in React, fluxible and electron)
- google cloud speech not working in electron package
Related Questions in SAVING-DATA
- Dynamically created EditText's
- CakePHP 3.0 association being marked as dirty when it's actually clean
- Where to place my android app's data
- Electron - How to save information?
- How do I save the results from an input line to a document in HTML?
- Output weka results to text file
- Saving and opening custom files using Serialization in c#
- Loading Huge single `rdata` vs Loading small multiple `rdata`
- Saving class data containing pyqt objects
- Saving cell properties for handsontable
- Error Saving & Loading Items from a ListView in javaFX 8
- Simple CakePHP ActiveRecord save problem: Why does the field save `NULL` instead of the value I assign it?
- Need help making Swift Cookie Clicker Game Automatically Save
- Cordova: How to save text files with vanilla JS
- Saving video in locally (directory) in Swift?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As I mentioned in the comment, you could use a NoSQL solution (or as Paulo Galdo Sandoval mentioned, the HTML5 storage methods)
I googled and found these resources: https://medium.com/@ccnokes/how-to-store-user-data-in-electron-3ba6bf66bc1e#.c45jm3tas
https://github.com/jviotti/electron-json-storage