What is URL Routing? URL Routing means that you when click on a link, instead of being routed to another page, you stay on the same page and the content changes. When this happens, usually a “hash” will be appended to your current URL so that the user can go directly to the content they… Read more »

On one hand, each javascript framework has its unique advantages and it is reasonable to say that each one has its place in web development. On the other hand, these frameworks have a similar goal. They are all excellent frameworks and there will certainly be a place for each one as web apps continue to… Read more »

When first learning knockout, it took me a little while to figure out how to get data from the server and do it in a clean way. After experimenting with a few different ways of doing it, and watching Rob Conery’s excellent screencast on tekpub, I thought I would share the way I like the… Read more »

I recently had a project that made me temporarily shift from my more native c#/asp.net environment and use php on the backend instead. As by more and more asp.net developers these days I have become accustomed to doing just about everything in the front end with the JavaScript library Knockout. Of course knockout.js is completely… Read more »

Knockout.js released by Steve Sanderson in summer of 2010. Although Steve works for Microsoft the decision to release knockout.js as an open source project was right. It is a standalone javascript library relying on MVVM and Observable patterns. The key principles of knockout.js are: * a clear separation between domain data, view components and data… Read more »

The following shows how to use the knockout options binding when loading the option values from the server with AJAX. In the following HTML the select box requires 4 bindings. The options binding specifies which variable in the Knockout ViewModel is used to generate the options. The optionsText specifies the name of element in the… Read more »