[Catalyst] Authentication gotchas

Christopher H. Laco claco at chrislaco.com
Sat Dec 17 03:52:24 CET 2005


Sebastian Riedel wrote:
> 
> Am 17.12.2005 um 02:41 schrieb Johan Lindström:
> 
>> At 19:55 2005-12-16, Christopher H. Laco wrote:
>>> Take C::P::FormValidator and C::P::FormValidator::Simple.
>>> The both claim $->form. Great. That's what plugins do right?
>>
>> How about we solve this problem _now_, because: yes, it's aleady too
>> late and it will break code; but no, there will _never_ be a better time.
>>
>> Deprecate form() in both modules for a few versions and then drop it.
>>
>> IMHO.
>>
>> Catalyst is still very, very young. Let's fix things while it's possible.
> 
> I absolutely agree, calling it $c->form() was a mistake (of me and Lyo
> Kato), and i wonder if $c->widget() for the upcoming HTML::Widget will
> be a mistake again...
> 
> What do you guys think? How to fix this?

Would it be possible to take the route of the auth stuff here?

use Catalyst qw/
	Forms
	Forms::Validator::DFV  or Forms::Validator::Simple
/;

$c->form->validate
$c->form->errors


etc...

	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20051216/236a68a8/smime-0001.bin


More information about the Catalyst mailing list