Matt S Trout wrote:
On Sat, Sep 01, 2007 at 04:08:09AM +0000, Fayland Lam wrote:
hi, guys.

since I can't touch Cory Watson by [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
so I wonder if this module is fine?

No, it's awful. There's no reason at all for this to be a plugin.

I'd suggest you make it a mixin for Catalyst::Model::DBIC::Schema instead.


but it depends on every request. it start at the sub prepare and end before finalize_body. due to my limited knowledge, I'm not sure if it's OK as a mixin for Catalyst::Model::DBIC::Schema



(otherwise how do you deal with two DBIC models each with their own
querylog etc. etc.)

that's right. but there is more than one way to do it. :)




--
Fayland Lam // http://www.fayland.org/

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to