Link Details

Link 74745 thumbnail
User 222305 avatar

By middlec
via wrongnotes.blogspot.com
Published: Apr 08 2008 / 20:18

Binding and validation is something almost all web frameworks must have a solution for. Some are more elegant than others, but the problem with most of them is that they are tied specifically to the use of that framework. I've yet to see a reusable utility that is framework agnostic for handling this. This is another take on Objects as Functions post I did a while back. Only now I'm applying it to binding and valiation for the web. The results are usable by any Java developer using any framework they want. Using this approach I reduced 150 lines of validation code to just 8 lines.
  • 7
  • 0
  • 1494
  • 275

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)