[Catalyst] DBIx::Class - table relations and joins

2010-12-14 Thread Vivek Chhikara
I am new to catalyst and need guidance in fetching some data from my mysql db. I want to know how can I write below queries(12) Here is dummy table structure I am using. - table1 === qid sid status name __PACKAGE__-set_primary_key(qid);

Re: [Catalyst] DBIx::Class - table relations and joins

2010-12-14 Thread Hernan Lopes
Thats DBIx::Class question and not a catalyst question. here are dbix class docs: http://search.cpan.org/~frew/DBIx-Class-0.08124/everything you need is there. Take a look at joining at the bottom of the page. --Hernan On Tue, Dec 14, 2010 at 1:27 PM, Vivek Chhikara vi...@chhikara.org wrote:

Re: [Catalyst] DBIx::Class - table relations and joins

2010-12-14 Thread Vivek Chhikara
Yeh this is DBIx :-) .. Thank you On Tue, 14 Dec 2010 13:37:47 -0200, Hernan Lopes wrote: Thats DBIx::Class question and not a catalyst question. here are dbix class docs: http://search.cpan.org/~frew/DBIx-Class-0.08124/ [1] everything you need is there. Take a look at joining at the

Re: [Catalyst] Re: Static MultiViews?

2010-12-14 Thread Tomas Doran
On 10 Dec 2010, at 20:32, Aristotle Pagaltzis wrote: * Tomas Doran bobtf...@bobtfish.net [2010-12-10 17:05]: MultiViews is an apache feature for language customisation, and has nothing to do with not having extensions on files. snip explanation of how MultiViews is a non-trivial feature I

Re: [Catalyst] Static MultiViews?

2010-12-14 Thread Tomas Doran
On 10 Dec 2010, at 20:03, Dorian Taylor (Lists) wrote: Language, mime type, charset and content encoding, actually. I was looking for similar behaviour but implemented in Catalyst (i.e. presumably using HTTP::Negotiate). It's entirely possible to serve static files without extensions if

Re: [Catalyst] FormHandler -- pro or con?

2010-12-14 Thread Toby Corkindale
On 13 December 2010 21:07, Octavian Rasnita orasn...@gmail.com wrote: From: Toby Corkindale t...@dryft.net On 9 December 2010 19:24, Octavian Rasnita orasn...@gmail.com wrote: Using Moose Roles for forms is awesome. I also agree with this idea, but the fact that the most used constraints,