Re: [Catalyst] Model objects from multiple DBIx::Class rows

2012-11-22 Thread Lukas Thiemeier
Hi Stephen, As far as I know, creating result class without underlying table is not supported. Having a class without table, but with relationships doesn't realy make sense to me. A relationship always has two sides. I am not sure if I really understand your problem. You have a user table and a

Re: [Catalyst] Model objects from multiple DBIx::Class rows

2012-11-22 Thread Stephen Shorrock
Hi Lukas, Firstly thanks and secondly I take your point regarding the relationships. It seems sensible that I should create an object to manipulate a Montage rather than methods attached to other objects that seem to be modifying something virtual. For example a Montage might have a period

Re: [Catalyst] Model objects from multiple DBIx::Class rows

2012-11-22 Thread Will Crawford
On 22 November 2012 17:03, Stephen Shorrock stephen.shorr...@gmail.comwrote: Hi Lukas, Firstly thanks and secondly I take your point regarding the relationships. It seems sensible that I should create an object to manipulate a Montage rather than methods attached to other objects that seem

Re: [Catalyst] Model objects from multiple DBIx::Class rows

2012-11-22 Thread Stephen Shorrock
On Thu, Nov 22, 2012 at 5:20 PM, Will Crawford billcrawford1...@gmail.com wrote: On 22 November 2012 17:03, Stephen Shorrock stephen.shorr...@gmail.com wrote: Hi Lukas, Firstly thanks and secondly I take your point regarding the relationships. It seems sensible that I should create an