pvbcharon has asked for the wisdom of the Perl Monks concerning the following question:
Revered keepers of wisdom,
after having written a couple of what the young folk would probably now call "web apps" mostly by hand, I have recently found Dancer and instantly fell in love with the amount of code I don't have to write anymore.
There remains one area, however, which seems to force me to repeat myself: form validation.
I have looked at some general solutions (HTML::FormFu which seemed a little much for what I wanted to do and Oogly) as well as some Dancer plugins (Dancer::Plugin::DataFu which seems to be based on Oogly and Dancer::Plugin::FormValidator where I seemed to be unable to read the documentation) but while they all seem to be nice solutions for server-side validation, I am looking for something that will allow me to specify some rules and enforce that set of rules on the server as well as on the client.
I think I have probably blatantly overlooked something there... Can anyone point me in the right direction?
Thanks!
|
|---|