in reply to Re^4: Can two separate responses be sent to the client's browser from Perl, such as via fork{}?
in thread Can two separate responses be sent to the client's browser from Perl, such as via fork{}?
Polyglot
Regarding the first part, AJAX requests do not need refreshing the client page. Just concentrate on a test JS script where you click a button, it does AJAX request to server and presents some results in a div. Start from there. An important part of this is server-side: sending JSON back to client on an AJAX request. Once you get the individual components working all will fit together niecely. A WORD OF WARNING: obvioulsy the proper way is to hava the server queueing the client requests, processing them at its own time and notifying the clients (via an email, or via the client checking on the server, perhaps via a client-page timed-auto-refresh (see Re: Can two separate responses be sent to the client's browser from Perl, such as via fork{}?) etc.) when results are ready. This is what afoken and fletch are telling you.
regarding LaTeX::Driver, it can run XeLaTeX too if you pass this parameter: 'format' => 'pdf(xelatex)' at construction time. There are options to specify the bin path.
bw, bliako
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Can two separate responses be sent to the client's browser from Perl, such as via fork{}?
by Polyglot (Chaplain) on Oct 20, 2023 at 00:58 UTC | |
by bliako (Abbot) on Oct 20, 2023 at 07:05 UTC |