Knockout.js is probably one of the best JavaScript Libraries I have found since jQuery. The library allows you to create object dependencies on properties. You can also use it with jQuery templates to produce quick and easy fully featured grids with CRUD capability that blows away anything else that I have tried.
I just finished up an MVC project where we were using jQuery to perform CRUD functionality with Modal Dialogs. I wish I had Knockout to make it everything clean up nicer. It would made it easy to follow in code. Now, I have a mess jQuery mappings, and mapping methods. A pain to keep everything straight.
For a simple example checkout this page demonstrating HTML controls using Knockout.js. One final word on knockout, is that Steve Sanderson has done a great job with the getting started documentation and allowing you to quickly implement knockout on a page. I had turned one of my pages into a readonly only grid in seconds with an ajax call, jQuery template, and 10 more lines of html and javascript! Awesome!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment