-
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:
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...
-
This is a continuation from the previous post . Specification Many games have a start screen or main menu of some sort. (Though I love games like Braid that bypass the whole notion.) Let’s begin by designing our start screen. We’ll have a solid color background. Perhaps the ever lovely cornflower...
-
Recently I got back into writing html/javascript code as part of my day job and boy-o-boy have things changed since the last time i did any of this. One thing that has not changed for me however was my belief in unit testing, so it was very painful for me to be writing hundreds of lines of javascript...
-
update: I just realized that the gist was not being rendered here. I've added the code inline. See the introduction post for context. The Loop In general, game development begins with the game loop. If you come from the business world of software development, this will be strange. You don’t...
-
Preamble Something disgusting, like six years ago, I listed on 43Things that I wanted to write a video game. I’ve actually made numerous arrested attempts ever since I started programming with my TI-94a back in 1983. My last attempt has been much less arrested (though still incomplete). I’ve...
-
Recently our team has been using TypeScript for all our Javascript work. To be honest it has been a complete pleasure as it ‘just works’. However one annoyance we quickly found was that we had to choose what was the best approach for using TypeScript. Do we have a single .ts file which...
-
This is the first tech coming out of Microsoft in several years that I’m excited about….really excited about. So, I thought I would take you, dear reader, on a learning adventure with me. Let’s dive in… What is TypeScript? TypeScript is a new programming language that Microsoft...
-
N.B. If you don’t know anything about WinJS, take a moment to peruse this primer . Also, the context of this post is the p&p Hilo project . Derick Bailey also wrote about promises on his blog. A Bit About Promises Promises are an abstraction for asynchronous programming. If you don’t know anything...
-
N.B. If you don’t know anything about WinJS, take a moment to peruse this primer . Also, the context of this post is the p&p Hilo project . One of the first questions we’ve been struggling with is how to best test a WinJS app. (I’m going to use the term “unit test” somewhat...
-
I’ve alluded before that I did a large chunk of my development in some form of ECMAScript for the first ten years of my professional life. Now, JavaScript is cool again for the first time. Everyone wants to learn it. So, like me, you probably already kinda maybe knew JavaScript. But times have...
-
I’m lazy. I remember reading somewhere that that was a desirable trait to have in a developer. I’m not sure where though, and honestly it’s just too much effort to bingle it. This laziness came to the forefront recently as I was playing with Node. In my last post , I showed you how to spin up a quick...