What I have is a UI which allows users to enter info about, say toys.
Now the UI is accessible to multiple users at the same time and the info stored by the user gets stored in a file, which may cause accidental overwriting of toy info.
The file will contain info of multiple toys but same toy info can not show up again which is quite possible in multi user environment.
I am fairly new to web dev. and python too.
What should be my first steps to resolve this problem?
Any help is highly appreciated.
Thanks
A “popular” algorithm for allowing multiple people to safely operate on the same data is known as “operational transformation”.
There are a couple of libraries that provide it, although I’ve never used any so I don’t feel comfortable actually recommending any. But here is a google search that should get you started. And, of course, there’s Wikipedia.