[Dancer-users] case insensitive param keys

David Precious davidp at preshweb.co.uk
Thu Oct 7 14:34:10 CEST 2010


On Thursday 07 October 2010 09:11:11 Alexis Sukrieh wrote:
> We should be careful not to implement all features we may think of. I
> understand this can be useful in some cases, for some purposes. But we
> don't want Dancer to hanlde every possible cases, natively.
> 
> We're a micro-framework, remember?
> 
> So my suggestion would be to provide a plugin for that. Like
> Dancer::Plugin::Params::Normalization.

I agree entirely.  Having a very small and efficient core, and the ability to 
add extra features via plugins, is very useful.

It could be argued that we could ship a set of "core plugins" by default so 
that extra features are available out of the box but not enabled/loaded unless 
needed, but I'm not sure even that is a good idea.

<random offtopicness>
On a note unrelated to Dancer, but related to modern Perl, I discovered "The 
Lacuna Expanse" earlier - an MMOG whose backend is all written in Perl.  
Excellent advert for modern Perl :)  It's at www.lacunaexpanse.com
</random offtopicness>


-- 
David Precious <davidp at preshweb.co.uk>
http://blog.preshweb.co.uk/    www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin    www.preshweb.co.uk/facebook
www.preshweb.co.uk/identica    www.lyricsbadger.co.uk

  "Programming is like sex. One mistake and you have to support 
  it for the rest of your life". (Michael Sinz)


More information about the Dancer-users mailing list