github

A 8-post collection

Knockout Lite Tools (KoLite 1.1.0)

Add commanding, change tracking, and activity indicators to your web application when using Knockout and KoLite. KoLite (now v 1.1.0) contains a set of helpers to aid in creating data bound applications using JavaScript and Knockout. KoLite was spawned by some ideas from Hans Fjällemark and I when working on some Knockout applications. The key features are: async command binding <li>command binding</li> <li>activity indicator</li> <li>change detection</li></ul> Get KoLite You can grab the KoLite library on github or grab KoLite on NuGet. New in KoLite 1.1.0 Command binding handler supports binding to native Knockout...


Simple JavaScript Notifications with toastr

My friend Hans Fjällemark and I have been collaborating on some JavaScript libraries lately and we decided it was time to release toastr, the first of them, on github. Our collaborative organization is under https://github.com/CodeSeven  toastr is a simple JavaScript toast notification library that is small, easy to use, and extendable. It allows you to create simple toasts with HTML5 and JavaScript like this: Simply include the files in your HTML page and write a simple line of code like this: toastr.success('Are you the six fingered man?', 'Inigo Montoya'); Hans is a great developer / designer and has recently helped me created some nice responsive designs in some demos...


Learn About External Templates with KnockoutJS

Templating is a killer feature of many technologies that helps reduce code and make it more manageable and adaptable. Knockout.js has a native template engine (or you can tie in a custom templating engine), but often I like to go a bit further and load my templates from external files. In this month’s Papa’s Perspective column in Visual Studio Magazine I cover the Knockout.js External Template Engine and how it makes using external templates with Knockout.js a breeze. Check it out. Jim Cowart wrote this library, pushed it to github, and created a NuGet package for it, so there’s no reason not to use it . Just search for “Knockout”...