On Sep 25, 2014, at 12:07 PM, sri <[email protected]> wrote:

>>     Lets have a little poll, what databases are you using with
>>     Mojolicious? And which modules are you currently using to access them?

Oh, this was before I joined the club. Still, I can answer.

I use PostgreSQL, as that database I use has been there before I
reimplemented the legacy PHP Web GUI with Mojolicious. To be able to use
everything from a CLI tool as well, I chose to implement a DB
abstraction layer without the Mojolicious dependency, so I used DBI as
usual.

In between I have seen that a CLI tool that has to have direct access to
the DB (and DB credentials!) is of very limited use. I have
reimplemented said CLI tool using the web service I implemented with
Mojolicious, so the idea of the DB abstraction is now somewhat moot.
Better reachability and much more flexible authentication make the web
service the better choice in all scenarios.

So, for further applications I will likely abandon the idea of a DB
abstraction and might as well switch to Mojo::Pg, if it turns out to be
suitable after I had a closer look at it.

Regards, Jürgen.

-- 
Jürgen Nickelsen <[email protected]>
Freie Universität Berlin, ZEDAT/FUDIS https://zedat.fu-berlin.de/FUDIS
Jabber [email protected]; Tel +49.30.838-50740 Fax -450740

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to