[Handel] Getting started

Christopher H. Laco claco at chrislaco.com
Tue Dec 13 17:04:39 CET 2005

Sorry I took so long to reply. I was asleep at the wheel working on this

Drew Taylor wrote:
> I'm getting started with Handel and had a few questions. First, I should
> note that I'm using the DBIC branch (r1021 installed).

Brave soul. There be dragons in there. :-)

> I used the Scaffold helper to get the Controller classes started, and moved
> the begin & end methods to the main application class. So I'm ok on the
> controllers for the moment. However, I'm not sure how to specify the
> database connection in M/Cart, etc. I want to reuse the connection from my
> DBIC base class if possible. Are there any other known gotchas w/ the DBIC
> branch?

Yeah, that's the downside to Handel. It's a model that knows nothing
about your other models, like another DBIx base class.

Does your DBIC class get it's config from Catalyst config, or just
stored in the module itself with some ENV magic?

As far as known gotchas with the DBIC branch, I don't really know. I use
the CDBI version. The DBIC branch was mostly for learning purposes, and
to say it could be done. There are also some changes/fixes in 0.29 that
aren't in the branch which are 0.28 based.

In the long run, I'd like to factor DBIC/CDBI out of Handel to the point
that it could use either one, but that's probably a 1.0 thing, and no
small order.

> I'm looking forward to diving into the cart code tomorrow, so expect more
> questions. :-)

Always welcome. Just happy someone is using the stuff. :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/handel/attachments/20051213/bb512edd/smime.bin

More information about the Handel mailing list