O'Reilly logo

KnockoutJS Web Development by John Farrar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Third-party template options

There was a time when jQuery was exploring creating its own templates, but that effort did not mature to a full release. So we will not cover that template here. The most popular template used with Knockout seems to have been Underscore as a result. Personally, before jumping into Knockout my template of choice was, well is, Handlebars. Yet, I have enjoyed Knockout templates so much that it has never compelled me to go as far as integrating Handlebars with Knockout yet.

I have played around with Underscore just to get a taste of why others use Underscore with Knockout; to see if I was missing something. It came down to a developer style difference that some developers like to use the Underscore style of template coding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required