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 ]

jk2addict (4946)

jk2addict
  (email not shown publicly)
http://today.icantfocus.com/blog/
AOL IM: chrislaco (Add Buddy, Send Message)
Yahoo! ID: chrislaco@sbcglobal.net (Add User, Send Message)
Jabber: laco@scribblewerks.com

Journal of jk2addict (4946)

Tuesday December 12, 2006
11:06 PM

Handel::Storage::RDBO

[ #31895 ]

Maybe as an act of defiance against the remaining tests missing labels, or as one last act of 'hey, it actually does work', but I'm somewhat done with a storage layer for Handel using Rose::DB::Object.

While DBIx::Class and Rose::DB::Object are conceptually close to each other, the storage layer is going swimmingly well. I guess that means that I did a fairly decent job of abstracting the storage layer. Ok, so that's why I really did it, to make sure things like this are actually plausible. :-)

Using it for the stock schema is really no more than changing:

__PACKAGE__->storage_class('Handel::Storage::DBIC::Cart');

to

__PACKAGE__->storage_class('Handel::Storage::RDBO::Cart');

If you're feeling naughty, use RDBO for the cart, and DBIC for the orders. And remember: Thout Shall Not Create Handel::Storage::CDBI. :-)

With any luck, it'll hit CPAN before the weekend is over. As far as Handel 1.0 goes, it's pretty much done, aside from some test labels and some more wait time on DBIx::Class 0.08.

Jan 1 and it's onword to Mango.

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.