One of the really powerful features that TypeScript brings to the JavaScript world is some Static Typing, even if it is only at code/compile time. With TypeScript I can say that an object is of a certain type which implies there are only a limited set of properties/methods available to me. ...
Today I extended one of our classes to use inheritance via Typescript (love that). When I refreshed the page I received an error here When I dropped to the Chrome debugger and outputted both the values for both ‘d’ and ‘b’ I was a bit shocked. ‘d’ was valid, but ‘b’...
Knockout js is an awesome MVVM framework for HTML/Javascript development and there is an extension library which performs data validation called Knockout.Validation which is an equally awesome library. Today when doing some coding I needed to validate that all properties on a VM were valid. A quick...
Two awesome releases in the last week! Much thanks to the great community surrounding both projects! Here’s what’s new: Durandal 1.2.0 Tons of bug fixes. Lots of improvements to the router. Better support for integrating with Q, KendoUI and Dojo. More docs. Check out the full set of changes. Caliburn...
Posted to
.NET & Funky Fresh
by
Rob Eisenberg
on 03-18-2013
Filed under: WPF, Xaml, WPF/e, Caliburn, Silverlight, RIA, MVVM, UI Architecture, Caliburn Micro, WP7, NuGet, JavaScript, Durandal
This is a continuation from the previous post . Setting The Stage The game we’re building will have waves of enemy ships fly in to attack the player’s units. Let’s begin by making a simple enemy as well as some dummy targets for them to attack. I’m going to keep the graphics very simple for the moment...