开发者

form generation and validation in Perl

I am thinking to create a web based survey and I thought the best way would be to describe the questions and the possible answers as a json or yaml file. Then generate the forms from there (possibly spreading several pages). From the same description file I could derive the rules for input validation and then I could use something like Data::FormValidator to validate the results.

In开发者_如何学Python the end I'd like to plug this in a Dancer based application.

I wonder what modules are out there on CPAN that could help doing this?


Check out HTML::FormFu. I've not used it, but I hear good things from the Catalyst community, and some Dancer stuff seems to use it to.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜