I have a news portal with all the data in the database. You need to make an empty, local "database" into which the user would enter anything: add, delete news, write comments, but that would be only on his computer if he turned on sandbox mode. Everything is already implemented for a normal SQL database, but how to do it for the "local storage" I have no idea
- and why it is necessary to store locally? - teran
- there was such a thing, there is nothing I can do about it - Ashen One
- it made sense then to build the interface using a thread of the js framework, in order to receive data both from the server and from the local storage in json-e which thread. In general, the pictures you, for example, cannot store in the local storage, its volume, emnip, 5 MBytes - teran
- Hell, so I thought that there would be troubles with this, it is necessary to demolish the architecture in general. - Ashen One
- And yet, what is a "local" server with its existing database can quite emulate local storage for the client. But yes, without a server it will not work. And yes, local storage has serious limitations and it is problematic to implement it entirely on the client in the browser, which means that for really local storage you should not do a web application at all but desktop - Mike
|