Shuraski has asked for the wisdom of the Perl Monks concerning the following question:
Oh wise monks...
I have a web app lovingly crafted in Perl using Catalyst. It is linked to an SQLite database on my development machine. Now it's time to deploy. I have a web server to host the front end. And a db server to host the back end. My institution requires this, and it seems like good practice. Only I have no idea how to pass queries from the web server to the db server, and how to pass fetched data back from the db server to the web server. Various advice has included, "Oh, that's easy, just wrap it all in JSON" -- but I have not been able to find more specific recipes despite a grand tour of google and CPAN.
I'm sure someone here has solved this in their sleep many a time...Any advice on at least where to begin? I am quite capable of figuring most things out from at least a starting point...
Grateful thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Passing queries and data from a web server to a db server and back again...
by roboticus (Chancellor) on Nov 29, 2012 at 03:30 UTC | |
by Shuraski (Scribe) on Nov 30, 2012 at 00:04 UTC | |
Re: Passing queries and data from a web server to a db server and back again...
by space_monk (Chaplain) on Nov 29, 2012 at 10:55 UTC | |
by Shuraski (Scribe) on Nov 30, 2012 at 00:07 UTC |