Ben bir webapp yapmaya çalışıyorum. Uygulama kendimi üniversitede sınıflar için yabancı dil çevirileri ile yardımcı olmak için yapıyorum, ve bunu online yapmak umuyorum. Site kaydeder tüm veriler gibi bir biçimdedir:
section 1
foreign text
translated text
section 2
foreign text
translated text
The app relies on javascript and jquery, so I thought JSON would be a good format for the data. I've got a basic user system set up, I just need to know the best way to handle the projects. What seems easiest is to just have a directory on my site in which there is a folder for every user. Every user's folder would have an individual file for each project they've made. In the load dialog the php will print the list of files in the user's directory so as to make a list of saved projects.
I don't believe this is the best solution; I'm kind of hacking this together as I go along. Would one giant json file for each user be better, or just a pain to code?