[dancer-users] Dancer2::Plugin::Database missing?
Jashank Jeremy
jashank at rulingia.com
Tue Mar 12 06:43:18 GMT 2013
On Tue, Mar 12, 2013 at 08:13:30AM +0200, Octavian Rasnita wrote:
>In Dancer2::Cookbook I read that there is a module
>Dancer2::Plugin::Database which can be used to access a database. I
>clicked on that link but I've seen that there is not such a module.
At this stage, many modules still need to be ported to the Dancer2
package.
>Is there a better way of accessing a database directly than by using
>this module? (without using an ORM)
For the moment, I'd suggest that you'd be fine using DBI directly, until
Dancer2::Plugin::Database comes out. As I understand it, bigpresh is
currently tied up with other things, but ports of a number of plugins
that he maintains will be coming soon.
If you're willing to put in the legwork, the source for D:P:Database is
readily available (https://github.com/bigpresh/Dancer-Plugin-Database)
-- a port into the Dancer2 package shouldn't be too painful.
HTH,
Jashank
--
Jashank Jeremy
PGP: 0x25A5C309
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130312/bf224a53/attachment.pgp>
More information about the dancer-users
mailing list