[Catalyst] best practices - model or controller ?

2008-10-03 Thread Yves Räber
Hello, I want to implement something really simple : log some events into a database. And I already can think of three way to do it, but because this will be used very frequently I'd like to know what's the best solution. For me the best solution would be to have little overhead, and a really sho

Re: [Catalyst] storing a list of items into the session

2008-03-23 Thread Yves Räber
Hi, Try this. replace : [% FOR mandator = Catalyst.session.mandators %] by : [% WHILE (mandator = Catalyst.session.mandators.next) %] Yves. On Sun, 2008-03-23 at 17:52 +0100, Pierre Moret wrote: > Hi, > > I'm fairly new to Catalyst, so please excuse me if my questions are a > bit... hmm

Re: [Catalyst] Automated testing of Captcha?

2008-01-21 Thread Yves Räber
The captcha value can be accessed here : $c->captcha_string >From the CPAN Documentation : http://search.cpan.org/dist/Catalyst-Plugin-Captcha/lib/Catalyst/Plugin/Captcha.pm #validate with CP::FormValidator::Simple sub do_post : Local { my ($self, $c) = @_; $c->form( validate => [