My validation dashboard is coming together and I’m now at the point of moving data update orchestration into the web app itself, rather than just in the shell scripts and single-transaction XQuery scripts I have now.
My question is: What is the recommended technique, or what are the available options, for orchestrating a sequence of transactions in the context of a web application?
For example, I have a button, not yet implemented, that needs to trigger update or creation of one of my indexes, which involves several transactions (drop temporary work database if it exists, create new work database, do work in that
database, swap work result with current production database).
I know I can use a sequence of redirects to get this and of course could also orchestrate it through JavaScript running in the browser. I’m trying to avoid JavaScript in this application simply to avoid complexity and keep as much of it
as possible in XQuery.
I’m also trying to work out the best way to present status and feedback for long-running actions—I know how to do the javaScript programming for this but again I’m hoping I don’t have to step up to that level of sophistication, at least
not yet.
So curious what techniques people use or recommend for transaction orchestration and monitoring.
Thanks,
Eliot
_____________________________________________
Eliot Kimber
Sr Staff Content Engineer
O: 512 554 9368
M: 512 554 9368