These are chat archives for jsreport/jsreport

24th
Oct 2017
Ry Blaisdell
@rylincoln
Oct 24 2017 21:36
For rendering a batch of reports. ... Do you think easier to send a bunch of requests serially and get back 1 PDF for each and save to disk is the way? Or can jsreport be made to handle sending 1 query that gathers ALL data needed for each report and parse inside jsreport into individual PDF results... --- goal is have many PDF reports produced from one click (from users perspective just one click).
Jan Blaha
@pofider
Oct 24 2017 21:49
I would probably recommend to send requests in parallel. The single report processing is already quite complex and you likely don't need batching
but of course it depends on number of requests and sizes of pdf reports
are you afraid of some perf problems in particular?
Ry Blaisdell
@rylincoln
Oct 24 2017 21:58
:) thanks this makes sense. I haven't tried anything yet - other than making simple report inside designer - planning to utilize API soon and just "thinking" about processes
Jan Blaha
@pofider
Oct 24 2017 21:59
ok, so go ahead.... there should be me or @bjrmatos here or on the forum if you need an advice
Ry Blaisdell
@rylincoln
Oct 24 2017 22:01
most reports we design have maybe 2-10 photos, then tables of data.
we've been doing things with tcpdf php library
works ok for 1 report at a time but doing building many reports into zip file memory explodes
with tcpdf! not jsreport
BJR Matos
@bjrmatos
Oct 24 2017 22:03
i see, i’m sure you can handle your batch of reports with jsreport nicely
after all the jsreportonline service is kinda a big batch of reports rendering every time :)
Ry Blaisdell
@rylincoln
Oct 24 2017 22:04
gracias (-:
haha
such a good point!
BJR Matos
@bjrmatos
Oct 24 2017 22:04
nice, do you speak spanish? :D
Ry Blaisdell
@rylincoln
Oct 24 2017 22:05
not really - i grew up in South Texas so just basic like graicas, de nada, donde es el bano etc... and of course some curse words :-|
BJR Matos
@bjrmatos
Oct 24 2017 22:05
hahah great
Ry Blaisdell
@rylincoln
Oct 24 2017 22:06
haha
mas cerveza
BJR Matos
@bjrmatos
Oct 24 2017 22:06
i was kinda happy to find another person to speak in my language :laughing:
mas alcohol :)
Ry Blaisdell
@rylincoln
Oct 24 2017 22:06
i learned more then i don't use it so i forget it
did the same thing with korean - learn the alphabet then forgot it
BJR Matos
@bjrmatos
Oct 24 2017 22:07
haha languages are hard without practice
Ry Blaisdell
@rylincoln
Oct 24 2017 22:07
if you're ever in austin cerveza on me!
austin texas that is
BJR Matos
@bjrmatos
Oct 24 2017 22:08
haha great, thanks! great excuse for a trip :)