DBIx::Class - Related Tables

Chisel Wright chisel at herlpacker.co.uk
Tue Oct 7 12:34:38 BST 2008

On Tue, Oct 07, 2008 at 12:08:03PM +0100, Raphael Mankin wrote:
> The problem here is not with the ORM but rather that you are breaking
> the MVC separation and putting controller logic in the view. A good ORM
> would have its data cached so that your test might not require two SQL
> queries. However, the template is, in this instance, the wrong place to
> put the test.

I'm sure someone more knowledgeable can confirm, but I think the ORM
known as DBIC does indeed Cache Stuff.

Yes, I know DBIC is not the only ORM.
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  For this and the answers to many other questions don't ask me.

More information about the london.pm mailing list