Browse Site by Tags

Showing related tags and posts across the entire site.
  • Validating all observables w/ Knockout validation and Typescript

    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...
    Posted to Derik Whittaker by Derik Whittaker on 04-21-2013
    Filed under: JavaScript, Typescript, Knockout.js
  • Typescript, jQuery and the ‘this’ context causing issues

    Today I was in the middle of porting some raw javascript over to TypeScript as well as moving inline javascript into separate classes.  In the middle of doing this I started to run into some really odd stuff.  Namely, the ‘this’ context in one of my methods was set to window, not to the parent...
    Posted to Derik Whittaker by Derik Whittaker on 04-12-2013
    Filed under: jQuery, Typescript
  • Knockout JS and mapping from Json to a custom object type

    One of the really cool features of Knockout js is the ability to take a raw json object, say from a web endpoint, and map it to an observable.  This is done via the mapping plug-in. Take a look at the code below for an example $.get(url) .done((data) => { var temp = self.ToDos(); _.each(data...
    Posted to Derik Whittaker by Derik Whittaker on 03-06-2013
    Filed under: Typescript, Knockout.js
  • Running Typescript tests via Jasmine and Chutzpah on Teamcity

    In my prior post I talked about how I setup my environment for testing my Typescript source via Jasmine and Chutzpah .  That was just the beginning.  Now that I had the ability to create unit tests I needed the ability to run them on our CI server, which happens to be Teamcity ).  I did...
    Posted to Derik Whittaker by Derik Whittaker on 12-25-2012
    Filed under: TDD, Typescript, Chutzpah
  • Setting up Unit Testing w/ Jasmine, Chutzpah and Typescript

    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...
    Posted to Derik Whittaker by Derik Whittaker on 12-23-2012
    Filed under: TDD, HowTo, JavaScript, Typescript
Page 4 of 5 (100 items) < Previous 1 2 3 4 5 Next >

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)