Blog Listing

 

TypeScript : Using Backbone.Marionette and REST WebAPI ( Part 1 )

March 22, 2014

This article ( Part 1 and Part 2) aims to walk the reader through setting up a Backbone.Marionette SPA application with Visual Studio 2013, and in particular, write Marionette JavaScript using TypeScript.  Generally, writing JavaScript applications relies on RESTful web services, so this blog will also aim to show how to accomplish this with ASP.NET WebAPI data controllers.

 

TypeScript : Using Backbone.Marionette and REST WebAPI ( Part 2 )

March 27, 2014

This is Part 2 of an article that aims to walk the reader through setting up a Backbone.Marionette SPA application with Visual Studio 2013, and in particular, write Marionette apps using TypeScript.

 

Setting up TypeScript and AngularJs in Visual Studio 2013

Feb 3, 2014

I have recently begun working through the AngularJs tutorials, and quickly found that they are geared towards development environments other than Visual Studio.  With the explosion of type definitions available via NuGet and DefinitelyTyped, I wanted to work through the process of getting up and running in AngularJs with a full Visual Studio 2013 development environment – complete with TypeScript debugging through F5.

 

TypeScript strongly typed Backbone Models

March 20, 2013

TypeScript and Backbone are a great fit in terms of writing simple, Object-Oriented code using JavaScript.  The simplicity of Backbone, coupled with the TypeScript generated closure syntax allow one to simply use the TypeScriptextends keyword to derive from any of Backbone’s base classes – and start implementing functionality immediately.  This is a very natural way to write Object-Oriented JavaScript:

 

Using ExtJs with TypeScript

January 28, 2013

Since the release of TypeScript there has been an explosion of JavaScript libraries that have had TypeScript definition files written for them.  A significant number can be found on borisjankov’s github repository  (DefinatelyTyped ). Unfortunately, there are currently no definition files for ExtJs in this repository.This blog is the results of my initial findings attempting to use zz9pa’s ExtJs definitions with TypeScript

 

TypeScript: Organizing your code with AMD modules and require.js

October 23, 2012

TypeScript has two methods of generating JavaScript output files: CommonJS, and AMD.  CommonJS is the default, and amd modules can be generated by adding the –module AMD option to the compiler flags.

In this post, I’ll show how to create and use AMD modules, as well as configuring require.js by using require.config

 

TypeScript: Implementing a Simple IOC Container for Service Location

October 17, 2012

Inversion of Control is an object-oriented design pattern that encourages de-coupling of objects, by enforcing a layer of abstraction between object interfaces.

The purpose of this post is to explain how to implement a very simple IOC container using TypeScript, focussing on a Service Locator.  This IOC container can be used both for service location of TypeScript generated classes, and external JavaScript libraries.

 

TypeScript unit testing with Visual Studio 2012, jasmine, backbone, sinon, require and testem on Windows 7

October 6, 2012

his blog is a starting point for those who are just getting into TypeScript development (like all of us I guess), and need a workable unit testing framework.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: