Re: [Catalyst] Caching SQL results for speed...?

2011-04-13 Thread Bill Crawford
On 13 April 2011 06:42, will trillich wrote: > Mostly thinking out loud here... but we welcome feedback if we're off > track... > Okay, after some perl -D:NTYProf tester.pl with 200 iterations: > 70% of the time is taken up in five modules: > 1) SQL::Abstract > 2) DBIx::Class::ResultSet > 3) Class

Re: [Catalyst] Help System - Can a controller's index capture the remainder of the path as a series of arguments?

2011-03-31 Thread Bill Crawford
On 31 March 2011 17:21, Bill Crawford wrote: > sub help : Chained('/') Args { >    my ( $self, $c, @path ) = @_; > >    my $path = join('/', @path); >    ... > } Uh, : Chained('/') PathPart('help') Args { ... __

Re: [Catalyst] Help System - Can a controller's index capture the remainder of the path as a series of arguments?

2011-03-31 Thread Bill Crawford
sub help : Chained('/') Args { my ( $self, $c, @path ) = @_; my $path = join('/', @path); ... } On 31 March 2011 17:12, Kyle Hall wrote: > Hello All, > > I'm trying to a help system to my catalyst app. My idea is to have a > help button. If we are currently at /foo/bar, the help butt

Re: [Catalyst] Multiple chain sources?

2010-11-23 Thread Bill Crawford
On 23 November 2010 15:34, Oleg Kostyuk wrote: >   $c->forward( $action [, \...@arguments ] ) > As I think, $c->forward(user => [$c->user->id]) isn't one of them. > So, what this should mean? $c->forward( $action [, \...@arguments ]) $c->forward( 'user' , [ $c->user->id ] ) The '

Re: [Catalyst] Re: $c->visit without calling end()

2010-11-15 Thread Bill Crawford
On 15 November 2010 16:56, Aristotle Pagaltzis wrote: > * Bill Crawford [2010-11-15 14:20]: >> On 13 November 2010 02:54, Bill Moseley wrote: >> > Any tricks to do a $c->visit type of call but w/o doing >> > a full dispatch, that is, without calling the auto and e

Re: [Catalyst] $c->visit without calling end()

2010-11-15 Thread Bill Crawford
On 13 November 2010 02:54, Bill Moseley wrote: > Any tricks to do a $c->visit type of call but w/o doing a full dispatch, > that is, without calling the auto and end actions? Doesn't $c->forward(...) do exactly that? Or have I completely misunderstood the docs? $c->visit( $action [, \...@captur

Re: [Catalyst] DBIC mailing list?

2010-09-03 Thread Bill Crawford
2010/9/3 Octavian Rasnita : > Hi, > > Has anyone any idea why I can't send messages to the DBIC mailing list > anymore? > > When I used to send messages from home they used to be rejected as SPAM. > I've subscribed with another email address from office and I send messages > from the office but now

Re: [Catalyst] Paging thru a complex POSTed search -- HOWTO?

2010-06-04 Thread Bill Crawford
On 4 June 2010 17:26, w...@serensoft.com wrote: > Bill -- We're running Catalyst::Runtime 5.80022 but uri_with comes via > Catalyst::Request which doesn't appear to have a $VERSION specified. This is > on Debian 5.0.4 (stable) but we've had to use CPAN to get more modern > versions of many of the

Re: [Catalyst] Paging thru a complex POSTed search -- HOWTO?

2010-06-04 Thread Bill Crawford
On 2 June 2010 18:56, w...@serensoft.com wrote: > Short version: > Using [% c.req.uri_with({ page => pager.next_page }) %] is fine for a simple > single-field search (where the form uses GET instead of POST)... but how do > we PAGE through (and/or cache) a multi-field form search that uses POST?