Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Qiang (5577)

Qiang
  (email not shown publicly)
http://www.goodspot.ca/

Journal of Qiang (5577)

Thursday May 17, 2007
09:33 AM

database layer separation

[ #33297 ]

we are not writing big Perl software yet. most of them are small and few medium. We started with plain DBI and i am getting tired of writing prepare, execute, selectall_arrayref($sql,{Slice=>{}},@bind) quickly now.

I don't want to introduce ORM just yet as it is a pretty big change and i got lots other things to push to our Perl development. but I definitely see it as the way to go in the long run if our Perl development get bigger.

after some searching, I have found DBIx::Simple - a thin layer to DBI. I like the syntax and it is simple enough. tried asked other monks opinion on perlmonks and no answer so far.

I will spend more time to try it out. if it all goes well, DBIx::Simple will become one of our standard modules among TT and CGI::Application.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.