javascript - Efficient way to generate report data -


i have report data available me fetching webservice. data in json format of form :

  • year -> region ->items == has data 12 months(a simple array)
  • (3) -> (3) -> (10)
  • i.e. 3 year, each contains 5 regions, , each region has 10 products.

what efficient way generate various representations of data in javascript. or methodologies adopted report generation of such kind.

i building bi solution using javascript. application uses data in different formats respective components. switching between these components involves regeneration of data. hence, either need datasets these components generated in advance or have efficient way on go.

i need datasets these components generated in advance

i believe simple straightforward approach; aggreggate , store data in separate tables before hand.

this require cron or sort of middle process. instead of processing , generating reports in javascript on each page load data retrieved aggregated , stored in seperate table.

javascript need retrieve , present data in aggregated table.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -