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
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object