I’m creating a very simple app to visualise my progress and grades in my courses, which is something I used to do on paper back in undergrad. I figured it would be a nice simple project which would actually be of use, if only to me.
I’ve started out creating it as a web app, creating SVG using Javascript. However, I’ve run into a snag with how to actually get the data in. I want to be able to use a form (or similar) to add new data when I receive grades, but I don’t know how to store and access that data.
From my research, it seems that I can’t access a database using Javascript, and I also can’t access a local JSON file. Is there another way to have this data stored and be able to be updated and saved? Do I need to create a Java servlet just so that I can read/write a JSON file? (Java is the only backend I know so far, but if there’s something else that will make it easier, let me know!) Is this the time to learn one of these mysterious frameworks everyone’s on about?
My other alternative is to give in and do the whole thing in Java, but I’d like to have the possibility of putting it online eventually rather than having it tied into a desktop app.
Any advice?
原文链接:What’s the best way to store data for my very basic app?
暂无评论内容