Chris Sainty

A technical blog covering full-stack web development.

twitter | github | stackoverflow

Posts about - knockout

,

Knockout custom binding handlers

For the last few months I have been working on a large, complex KnockoutJS application.
Along the way I have picked up a number of patterns and techniques that have helped keep things manageable.

One of the most important lessons was to learn to love custom bindings. Today I will show an example of how you can use a custom binding to add reusable logic to your views without having to make changes to your viewmodels.

Read More

, , ,

Creating desktop apps with NodeJS

Last week an interesting thread was started on the NodeJS mailing list.

https://groups.google.com/d/msg/nodejs/iy7Re33dwyU/yxwLlx1aUNMJ

Roger Wang from the Intel Open Source Technology Center posted about a new project from their team called node-webkit.

https://github.com/rogerwang/node-webkit

node-webkit brings WebKit to NodeJS. With it, client side applications can be written with a HTML/CSS UI on the NodeJS platform. We believe the async I/O framework and Javascript language is a perfect combination for client (mobile) side applications.

Read More

, , , , , ,

Tutorial: Nancy + MongoDb + AppHarbor

Time for a quick tutorial on how to get a site up and running on AppHarbor using Nancy and MongoDb.

Read More

, , , , , ,

Learn Something New: Nancy

Today my toolset of choice for a quick learning session is Nancy.

Reading straight from the box

Nancy is a lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono. The goal of the framework is to stay out of the way as much as possible and provide a super-duper-happy-path to all interactions.

Got that? Think of it as a replacement for WebForms or ASP.NET MVC.

Read More

, , , ,

Learn Something New: Knockout JS

First in my “Learn Something New” series is Knockout, a javascript MVVM framework.

Knockout is beautifully simplistic. You define a ViewModel, bind it to your UI, and away it goes keeping the two in sync. It really is beautiful stuff for a javascript heavy UI.

Read More