Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22207

Re: JS/ECMA script created table question

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: JS/ECMA script created table question
Date Thu, 28 Nov 2013 08:46:14 -0700
Lines 45
Message-ID <bfp6qbFh9enU1@mid.individual.net> (permalink)
References <bfev3vFcjrpU1@mid.individual.net> <529251aa$0$9524$9b4e6d93@newsspool1.arcor-online.net> <bff7hnFeebmU1@mid.individual.net> <52975cc8$0$6565$9b4e6d93@newsspool4.arcor-online.net>
X-Trace individual.net akghyAGlqaBAPmqvj7Rb6w6V8ako3TIU8+Zb/wxmiQEmg79u+P
Cancel-Lock sha1:MiSAJXhVYXLxONK1kWO67IMpOrA=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-RFC2646 Format=Flowed; Original
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
Xref csiph.com comp.lang.javascript:22207

Show key headers only | View raw


Cristoph said:
> Mel Smith wrote:
>
>>     (btw, another option -- which I may have to use- is to build a pdf 
>> file
>> at the server, and then send a link to the client to *that* file.  But 
>> this
>> means I may have to save this file on the server, or maybe email file to 
>> the
>> client. Both are unpalatable options for me.)
>
> There is, however, a third option: build the PDF dynamically on each
> respective request and deliver it as application/pdf.  In your case that
> seems to be unnecessarily complicated and wasteful, but there might be
> use cases where this technique could be reasonable deployed.
>

Hi Christoph:

    Yes, I'm doing prelim work on that option now (using the R&R Report 
Writer, and its option to produce pdf files as output).   This method allows 
much more sophisticated output.  I used this method about a year or so ago 
on another project, and it worked -- but slowly (my server started up the 
R&R runtime executable which looked into databases and then produced the 
output, and it took about 15 seconds before the pdf file was ready for the 
clients to view)  but it was designed for a weekly output file where the 
clients (only 70 max of them could click on the link to the output pdf file 
and view/print it).

    If I try to use this same technque, I could be facing 50 or so 
simultaneous requests for the server to start up the R&R runtime exe, and 
creating all these output pdf files simultaneously   -- each taking approx 
15 seconds (maybe I'm wrong about this)  for the fle to be produced.

    Anyway, I'm working on that option --- but with trepidation ...

    You say above  "deliver it as application/pdf" . Would you amplfy that 
please -- if its not OT ?

Thank you.

-Mel Smith


Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JS/ECMA script created table question "Mel Smith" <med_cutout_syntel@aol.com> - 2013-11-24 11:33 -0700
  Re: JS/ECMA script created table question Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-24 20:21 +0100
    Re: JS/ECMA script created table question "Mel Smith" <med_cutout_syntel@aol.com> - 2013-11-24 13:57 -0700
      Re: JS/ECMA script created table question Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-28 16:10 +0100
        Re: JS/ECMA script created table question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-28 16:39 +0100
        Re: JS/ECMA script created table question "Mel Smith" <med_cutout_syntel@aol.com> - 2013-11-28 08:46 -0700
  Re: JS/ECMA script created table question danca <cyberdanny@tiscalinet.it> - 2013-11-24 23:58 +0100
    Re: JS/ECMA script created table question "Mel Smith" <med_cutout_syntel@aol.com> - 2013-11-24 18:24 -0700
      Re: JS/ECMA script created table question "Mel Smith" <med_cutout_syntel@aol.com> - 2013-11-24 20:16 -0700
        Re: JS/ECMA script created table question [a bit OT] danca <cyberdanny@tiscalinet.it> - 2013-11-25 10:55 +0100
          Re: JS/ECMA script created table question [a bit OT] "Mel Smith" <med_cutout_syntel@aol.com> - 2013-11-25 08:44 -0700

csiph-web