December 2006

Handel 0.99_16 Released

One more for the trolls, with some added order_by goodness for Kaare.

  • Added \%options/order_by to search/items in Cart/Order
  • Added has_column to DBIC Storage to use ResultSource->has_column
  • Added has_column to Result/DBIC Result
  • Fixed TT demo code. Maybe that will die some day. Seriously. Two words: Catalyst Helpers. :-)
  • Fixed issue where Compat Currency convert failed with converter returns 0
  • Changed quickstart setup script to *_handel.pl
  • Added 0700 perms to handel.pl app script
  • Storage::process_error now only dies Handel::Exception subclasses instead of all blessed objects
  • Renamed DBIC schema classes into Schema::DBIC space, like their RDBO cousins

Announcements

Comments Off

Permalink

Handel::Storage::RDBO 0.01_02 Released

From the I need a new hobby department, I present to you the second dev release of Handel::Storage::RDBO…

  • Reworked init_db/Storage connection with the help of John Siracusa
  • Storage connection_info is now just like the DBIC storage connection_info
  • Requires latest version of Rose::DB from svn/0.732 when released
  • Fixed pod typo in Storage::Order::Item

Announcements

Comments Off

Permalink

Handel::Storage::RDBO 0.01_01 Released

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

Announcements

Comments Off

Permalink

Storage: Handel::Storage:

RDBO in the works…

Currently Working On

Comments Off

Permalink