No such thing as a small change | |
PerlMonks |
Re^3: Model-View-Controller: Template Toolkit vs. XSLTby weierophinney (Pilgrim) |
on Oct 15, 2004 at 18:33 UTC ( [id://399608]=note: print w/replies, xml ) | Need Help?? |
CGI::Application does many other things than "a giant if/elsif/else statement"
-- and it doesn't even really do that. (It implements a hash-based dispatch
table that maps a query string to a method; if no match is found, it uses a
default as specified.)
What does CGI::Application do?
What I like most about it is that, at it's core, it's a very slim piece of code that simply stays the heck out of my way as I build my applications -- no extraneous doodads or geegaws are loaded unless I specifically do so myself. Yes, it's another dependency, but it has very little overhead and benefits that outweigh the dependency a thousandfold.
In Section
Meditations
|
|