V
V
Valery Khizhevsky2018-04-10 10:50:56
PHP
Valery Khizhevsky, 2018-04-10 10:50:56

Where to process data, on the back or front?

Good day.
The essence of the question is as follows, you need to build a graph with the data received. (start value at the beginning of the hour and end value at the end of the hour), should I fetch certain values ​​from the database, or take all the values ​​and process them at the front?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2018-04-10
@Roshette

Draw - then at the front, of course.
And bring the data on the back into a more or less rendered view - filter the desired range, group what you need, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question