Latest Version: 1.00011 - Download it now.

Currently Working On: Mango: making it happen......

« Storage: Handel::Storage: | Main | Handel::Storage::RDBO 0.01_02 Released »

Handel::Storage::RDBO 0.01_01 Released

Tags: (2) : (2) : (3)

Just because I can, and also as an exercise to make sure the storage layer in the upcoming Handel 1.0 is abstracted to my liking, I'm happy to announce the first release of Rose::DB::Object support for Handel.

The dist includes the requisite storage, schema, and result classes needed to use Handel 1.0 with Rose::DB::Object classes instead of the DBIx::Class schema classes.

To use RDBO instead of DBIC, all you have to do is change the storage_class in your storage classes generated by the bootstrap:

package MyApp::Storage::Cart;
use strict;
use warnings;

BEGIN {
use base qw/Handel::Storage::DBIC::Cart/;
};

becomes:

package MyApp::Storage::Cart;
use strict;
use warnings;

BEGIN {
use base qw/Handel::Storage::RDBO::Cart/;
};

You will need to do this in the Cart, Cart::Item, Order, and Order::Item storage classes. At some point I will change the generation scripts to allow one to specify DBIC or RDBO during code generation.

Handel-Storage-RDBO-0.01_01 should be available on CPAN shortly, and requires Handel 1.0, which doesn't yet exist. Please use the latest code from the 1.0 branch for now until I get another dev release out the door:

http://svn.handelframework.com/CPAN/Handel/branches/DBIC-1.0/

-=Chris