0

I am developing an ASP.Net WebAPI project and using Knockout.js for client-side MVVM. I was considering about client-side validations now and found out Knockout-Validations. Since this is a recommended validation framework from Microsoft also, I am willing to use this in my project but I am kind of considering about jQuery Validations as well.

So what if I use Knockout-Validation instead of jQuery Validations? I mean, Knockout-Validations were pretty new to field but jQuery Validations were there since 2006. What would I miss if I use Knockout-Validations instead of jQuery Validations? Are there some things that jQuery Validations can do that Knockout-Validations cannot do?

FYI, the customer of my project is expecting this product to be used for the next decade. So even the validation framework of choice would also be a very important decision.

Thank you all.

Thilok Gunawardena
  • 924
  • 5
  • 22
  • 44

1 Answers1

1

The Knockout validation plugin uses "jquery validation" under the bonnet, but just encapsulates it nicely within knockouts extenders framework. This encapsulates the necessary jquery validation you mention, have a look at the knockout extenders docs towards the bottom http://knockoutjs.com/documentation/extenders.html

P0DD3R5
  • 236
  • 1
  • 3
  • 11