0
Saving user changes to the site
Hi all! I really want to create a website where each user will have the opportunity to make changes to the code in their personal account: add elements, text, save it all, so that the next time they log in, everything will be displayed as before. To implement this, I need to study :) But there is a problem - it’s not very clear to me what exactly to study. By what means can you save page elements depending on the user profile? Please tell me which direction to go?
5 Antworten
+ 1
I'm not able to provide too much detail but you can read these for some more guidance on where and what to look for:
https://www.sololearn.com/Discuss/376708/?ref=app
https://www.sololearn.com/Discuss/1708841/?ref=app
https://www.sololearn.com/Discuss/1704817/?ref=app
https://www.sololearn.com/Discuss/1204047/?ref=app
+ 1
Thank you!
0
You can save changes in cookies, in a database, in a file and so on.
0
Cookies can be cleared - this will not work. The database is unlikely to save page elements for each user if there are an infinite number of these elements, let’s say, take the Sololearn application as an example - we can create records here, edit them, create our own code that others will see - which database saves all our actions and created objects? how to implement this?
0
Please specify in more detail how to save it to a file? Through ajax requests?