In our last post, we created a ViewModel which models the basic functionality we would like on the page. As a reminder, we have a Knockout “observable array” of items suitable for binding; each item is a JavaScript object containing a title and description in addition to a value called complete which indicates if this … Continue reading
Tag Archives: knockoutjs
Test Driven Development with KnockoutJS, VisualStudio, and Karma
I’m giving a presentation on KnockoutJS and TDD at DevTeach in Toronto on Wednesday. I’ll be doing a live code demo, which is always exciting (at least for the presenter). I thought I’d write a quick article recording the steps I go through as part of the demo. Legacy Code Legacy Code, according to my … Continue reading
Test Driven Development with KnockoutJS, VisualStudio, and Karma: Live Demo
I’m giving a presentation on KnockoutJS, Karma-Runner, and TDD at DevTeach in Toronto on Wednesday. I’ll be doing a live code demo, which is always exciting (at least for the presenter). Here’s a screen grab of me practicing the live code demo. Topics covered: Creating project in VisualStudio, adding knockout and jasmine via nuget Setting … Continue reading
Knockoutjs on CDN? yes..
Originally posted on happy && coding:
Sometimes you just want to use a CDN for scripts, especially if you are working with cloud IDE’s and the like, similar to Cloud9 or Icenium. So one place that seems robust is Microsoft’s AJAX CDN network.
KnockoutJS and Testing
KnockoutJS is a JavaScript framework for making it easy to quickly create complex data based pages in browsers as old as IE6. It does this by though the use of a data-bind property for HTML elements like so: <input data-bind=”value: firstName” /> What the above data-bind will do is replace the value property of the … Continue reading