From: Pavneet Arora <pavneet_arora@waroc.com>
To: luigi scarso <luigi.scarso@gmail.com>,
ConTeXt Mailing list <ntg-context@ntg.nl>
Subject: Re: Invoking ConTeXt from inside php web appliction
Date: Mon, 11 Jul 2016 12:14:48 -0400 [thread overview]
Message-ID: <20160711121449.B16DE86C0E5@charkha.pavastupa.com> (raw)
In-Reply-To: <CAG5iGsD48qgiHcSjXYERcXrP4fo6pYL0SJTkz7JVqS9bLM+8bA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 948 bytes --]
In principle this is workable up to the point that the output PDF needs to be handed off to the user. In my case, it is the (authenticated) parent who is requesting their child’s report card in one of two forms each of which is created dynamically at any point along the school “term”. The user is waiting for the output PDF from the browser. In Laravel this is accomplished by using:
return response()->download($full_output_filename)->deleteFileAfterSend(true);
whereupon the end user sees the familiar Open, Save, … dialogue.
But the dispatcher pattern is very useful, and I like it very much. In another area, I use it to monitor a directory for forms input, which are done off-line on W10 tablets using a browser and the Mongoose lightweight httpd, and then uploaded using sftp (under Cygwin).
Thanks, again, for the suggestions.
Pavneet Arora
m: +1 (647) 406-6843
e: pavneet_arora@waroc.com
From: luigi scarso
[-- Attachment #1.2: Type: text/html, Size: 7571 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2016-07-11 16:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-09 15:45 Pavneet Arora
2016-07-09 20:56 ` Henning Hraban Ramm
2016-07-09 23:02 ` Pavneet Arora
[not found] ` <CAG5iGsD48qgiHcSjXYERcXrP4fo6pYL0SJTkz7JVqS9bLM+8bA@mail.gmail.com>
2016-07-11 16:14 ` Pavneet Arora [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-06-17 12:16 Pavneet Arora
2016-06-17 12:21 ` luigi scarso
2016-06-17 12:25 ` Pavneet Arora
2016-06-17 12:34 ` luigi scarso
2016-07-11 12:50 ` massifr
2016-06-17 12:42 ` Pavneet Arora
2016-06-17 13:25 ` luigi scarso
2016-06-17 13:39 ` Pavneet Arora
2016-06-17 14:15 ` Hans Hagen
[not found] ` <CAG5iGsBpLw8uTFyH7E5MCqcEoaK82qbyakfJA3teeUkSinQEgg@mail.gmail.com>
2016-06-17 14:57 ` Pavneet Arora
2016-06-17 18:49 ` Henning Hraban Ramm
2016-06-17 20:06 ` Mojca Miklavec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160711121449.B16DE86C0E5@charkha.pavastupa.com \
--to=pavneet_arora@waroc.com \
--cc=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).