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

Attachment: pgpO2HsMlm5Xe.pgp
Description: PGP signature

_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to