[pmwiki-users] Experimental captcha recipe
marc
gmane at auxbuss.com
Tue May 8 08:45:46 CDT 2007
Patrick R. Michaud said...
> On Tue, May 08, 2007 at 10:01:42AM +0100, marc wrote:
> > Patrick R. Michaud said...
> > I know folk aren't enamoured by object orientation around here - I can't
> > help it being a Java and Ruby dude - but I felt that a captcha recipe is
> > an ideal candidate for using the strategy pattern.
> > ...
> > In this way, the recipe can easily be extended with the admin's
> > preferred captcha algorithms, without the recipe needing to be updated -
> > nor would it need to include each and every available algorithm.[2]
>
> This is already this case. Changing the captcha algorithm is
> as simple as providing alternate handlers for ?action=captchaimage
> and/or the {$Captcha} page variable. No modifications to the recipe
> are required.
>
> And yes, this can easily be done on a per-group or per-page basis.
Fair enough, I'll just pinch your algorithms then ;-) I don't agree that
it's as easy, nor that it easily facilitates a common interface, but it
is the pmWiki way, so I'll butt out.
--
Cheers,
Marc
More information about the pmwiki-users
mailing list