Web

JavaScript

Publish & Subscribe Distributed Events in JavaScript

Distributed events let you define a named event that can be published or subscribed to without the need to have a reference to any other object; this post attempts to bring that behaviour to JavaScript

Read More
Knockout

Editable Fields with Cancelability using Knockout

I quite often find myself wanting to write UI that is read-only until someone clicks on an Edit link, at which point it becomes editable and they can either save or cancel their changes.

Read More
.NET

Deserializing Interface Properties using Json.Net

How can you deserialize a property value without a strong type?

Read More
ASP.NET

The Magic of SignalR

I recently managed to find both the time and a suitable project to get my hands dirty with SignalR

Read More
ASP.NET

Using Constraints for Better Routing in MVC

The default routing in an MVC project is pretty great, but what if we want something more?

Read More
Knockout

Command Pattern v2 using Knockout

A few enahcements to a command pattern for KnockoutJs

Read More
Knockout

Forcing Computed Observables to Refresh in Knockout

Sometimes you need to force a computed observable to update in response to external events.

Read More
Knockout

Paging Lists with Knockout

Knockout can get a little bit slow when trying to render large amounts of data...

Read More
Knockout

Command Pattern with jQuery.Deferred & Knockout

Working in WPF using the MVVM pattern it is almost impossible to get away from commands and the ICommand interface, so when I started writing view models in knockout that had to perform actions I started to miss the commands quite quickly

Read More
Knockout

Placeholders using Knockout JS

Whenever you have an asynchronous call to the server from a web page it is good practice to have some form of loading indicator to let the user know that something is happening in the background

Read More