Enter the next level of HTML5

The game is on. The competition is open. It’s time for FrameRate Fest 2012. Internet Explorer 9 challenges you to play yourself to the front line of HTML5.   In this creative competition it’s all about building an awesome HTML5 frame. In this year’s edition there is an extra challenge: create a small but nice, awesome or freaky game component in your frame. Your ultimate chance to gain fame.   Cause we’ve got a worldwide scoop: a developers Kinect code in combination with your HTML5 game. And you’ll be the first one to explore this technique. You like this WOW? … Continue reading Enter the next level of HTML5

How to data bind to collections using Knockout.js

In the previous two blog posts about getting started with Knockout.js and controlling updates using Knockout.js I showed to to get started with the awesome Knockout.js library. In this post I am going to show how easy it is to load a collection of items from a REST service and data bind to the complete collection. To data bind to collections of data Knockout supports the foreach data binding. This lets us point at a collection of data and create a new item for each object in the collection. In the example below I am using an html <table> to … Continue reading How to data bind to collections using Knockout.js

DotNed Podcast: Roland Guijt over moderne web ontwikkeling met Knockout.js

In deze podcast spreekt Maurice de Beijer met Roland Guijt over de moderne manier van het ontwikkelen van web applicaties. Roland verteld over het gebruik van Knockout.js voor de data binding van data aan de HTML elementen on de browser. Verder verteld hij waar hij jQuery allemaal gebruikt en geeft hij diverse tips over het ontwikkelen van single page web applicaties.   De podcast is hier te downloaden.     Voor het gemak kan je natuurlijk ook een RSS feed, iTunes of Zune link gebruiken.   Enjoy!   [f1] [f2]

Windows Workflow Foundation 3 Types Marked Obsolete in .NET 4.5

People have been wondering for a while what the future of WF3 was since the release of WF4. So far both workflow stacks have coexisted in .NET 4 and there has been no official statement about the future of the older WF3 stack.   That has just changed! The workflow team at Microsoft has just announced that they are marking the WF3 stack as deprecated with the next release of the .NET framework, .NET 4.5. Of course the types are still there but you will get compile time  warnings for using them and you can expect the classes to be … Continue reading Windows Workflow Foundation 3 Types Marked Obsolete in .NET 4.5

Controlling when the value is updated with Knockout.js

In the previous blog post about Knockout.js I showed why and how to get started with Knockout.js. And I explained that the reason I really like Knockout.js is that it is a very familiar way of working with its MVVM style. I created a small demo where we could update the first and last name of a person and the ViewModel would combine the two and display the concatenated parts as the complete name. This worked just fine as soon as I started using observables except for one thing. Whenever I start typing the full name isn’t updated until the … Continue reading Controlling when the value is updated with Knockout.js

How to get started with Knockout.js

Once you get into doing more client side JavaScript code with business applications and REST services you are going to run into the question of how to construct the client side HTML required to show the data to the users.   Using jQuery Assuming most people are going to be using jQuery on the client you might start with some jQuery code to generate HTML. Your code might look something like this $(function () { $("#btn").click(function () { $.getJSON("/services/books").then(function (books) { $.each(books, function () { $("<li>").text(this.Title + " by " + this.Author).appendTo("#books"); }); }); }); }); The code isn’t very … Continue reading How to get started with Knockout.js