Re: [Catalyst] Search example in any docs?

2008-09-24 Thread Tomas Doran
On 24 Sep 2008, at 00:34, Dr. Jennifer Nussbaum wrote: Thanks. I do appreciate this, and its a neat solution, but the problem wasnt that i dont know how to put common elements in a base class, the problem is that nowhere in the Cat docs, formal or informal, are there any examples of doing

Re: [Catalyst] Search example in any docs?

2008-09-24 Thread Zbigniew Lukasiak
On Tue, Sep 23, 2008 at 10:21 PM, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: --- On Tue, 9/23/08, Zbigniew Lukasiak [EMAIL PROTECTED] wrote: Hi there, I am sure you are referring to http://www.catalystframework.org/calendar/2007/16 :) I don't really know what you need, but I start

Re: [Catalyst] Search example in any docs?

2008-09-24 Thread Jesse Sheidlower
On Tue, Sep 23, 2008 at 05:45:17PM -0700, J. Shirley wrote: On Tue, Sep 23, 2008 at 4:34 PM, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: Thanks. I do appreciate this, and its a neat solution, but the problem wasnt that i dont know how to put common elements in a base class, the

Re: [Catalyst] Search example in any docs?

2008-09-24 Thread J. Shirley
On Wed, Sep 24, 2008 at 7:00 AM, Jesse Sheidlower [EMAIL PROTECTED] wrote: On Tue, Sep 23, 2008 at 05:45:17PM -0700, J. Shirley wrote: On Tue, Sep 23, 2008 at 4:34 PM, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: Thanks. I do appreciate this, and its a neat solution, but the problem

Re: [Catalyst] Search example in any docs?

2008-09-24 Thread J. Shirley
On Wed, Sep 24, 2008 at 10:46 AM, Kenny Gatdula [EMAIL PROTECTED] wrote: On Sep 23, 2008, at 8:45 PM, J. Shirley wrote: Wiki! Wiki! Document what you've done and post on here. Wiki nodes are a living document and can evolve with time and evolve into better solutions. Because I love

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Peter Karman
Dr. Jennifer Nussbaum wrote on 09/23/2008 02:38 PM: Is there any place that shows a simple example of a web form - DBIC search in Catalyst? And if not, shouldnt there be? The problem is that db search quickly becomes complicated when you're dealing with multiple tables, relationships, column

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Zbigniew Lukasiak
On Tue, Sep 23, 2008 at 9:38 PM, Dr. Jennifer Nussbaum [EMAIL PROTECTED] wrote: Hi. Im working on a new app which is working well. While doing it though i realised that i never get my serach done right. I mean, it works, but i end up spending a lot of code munging parameters, making

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Dr. Jennifer Nussbaum
--- On Tue, 9/23/08, Zbigniew Lukasiak [EMAIL PROTECTED] wrote: From: Zbigniew Lukasiak [EMAIL PROTECTED] Subject: Re: [Catalyst] Search example in any docs? To: [EMAIL PROTECTED], The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Tuesday, September 23, 2008, 1:02 PM On Tue

Re: [Catalyst] Search example in any docs?

2008-09-23 Thread Tomas Doran
On 23 Sep 2008, at 21:21, Dr. Jennifer Nussbaum wrote: i have code that looks like if ( $c-req-params-{title} ) { my $title = % . $c-req-params-{title} . %; push (@$query, { title = { like = $title } }); } # exact match here if ( $c-req-params-{author} ) { my $performer =