Quantcast
Channel: Question and Answer » json
Viewing all articles
Browse latest Browse all 148

Should I omit database and server communication (after initial response)?

$
0
0

I have a project that I’m working on where a user uploads a big file which gets parsed by the backend, and then returns the data back in a friendlier format. Now I’m wondering whether I actually need a database to store it, or should I just send all the data back to the user in JSON and let JavaScript to show the data properly on button presses?

I’d like to add a database and have all project organised MVC, but I feel like storing the data and then extracting it to serve it to the user and querying it at each button press is unnecessary and would slow down the communication.

I am aware that using the no-database method would mean other users can’t access the data that the user who uploads the file can see, but that’s not a big issue. Any other issues that I should consider?


Viewing all articles
Browse latest Browse all 148

Trending Articles