Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.

Programming and Learning from SD July 2013 Entries
Benefits of Behavior Driven Development
Now posted on aligneddev.netContinuing my previous article on BDD, I wanted to point out some benefits of BDD and since BDD is an extension of Test Driven Development (TDD), you get those as well. I’ll add another article on some possible downsides of this approach. There are many articles about the benefits of TDD and they apply to BDD. I’ve pointed out some here and copied some of the main points for each article, but there are many more including the book The Art of Unit Testing by Roy Osherove. ......

Posted On Friday, July 26, 2013 10:44 AM

KnockoutJS 2.3.0 - Uncaught Error: You cannot apply bindings multiple times to the same element.
I upgrade KnockoutJs through Nuget and started getting the error ‘Uncaught Error: You cannot apply bindings multiple times to the same element.’ when I used applyBindings after the main page load. I had some dynamically added DOM elements and re-applying bindings worked before. It always seemed like a workaround/hack, but now Knockout is telling me that I shouldn’t do it. The quick way to fix this is to use ko.cleanNode($(‘#id’) and this works. A different/possibly better way, as suggested by x0n ......

Posted On Thursday, July 25, 2013 9:45 AM

Knockout with Prototype and Inheritance
I’m refactoring code to use a prototypal inheritance instead of the Revealing Module Pattern. I’m using TypeScript for inheritance, seeing what it kicks out and copying and modifying that (that’d be worth a blog post). There were a few modifications that I needed to make. Bonus: this is a good video about JavaScript inheritance. Subscribe and Computed need a different approach. See This code snippet is ......

Posted On Wednesday, July 17, 2013 4:20 PM

Referencing files TypeScript 0.9
I was trying to reference an existing JavaScript file from my new TypeScript file using /// <reference path="app.js"/> It wasn’t being found, until I found that you need to have the file saved as UTF-8. To do this in Visual Studio 2012 on Windows 7, click on file –> save as –> then click on the down arrow of the save button and choose save with encoding. TypeScript then found my JavaScript and started parsing. Now I have a lot of errors when I build the solution (other references aren’t ......

Posted On Friday, July 12, 2013 11:51 AM

A Few Responsive Design Tools and References
Here are a few that John Papa mentioned in his SPA Pluralsight course plus some others I’ve found. I wanted a place to write these down for later reference. points to http://responsive.victorcou... – they also have emulators that you can open from Visual Studio 2012 Articles: HTML5 - Responsive Web Design – MSDN Article – November ......

Posted On Wednesday, July 3, 2013 1:15 PM

Data Compare is Finally Back in VS 2012
I’ve been missing the data compare tool this since moving from VS 2010. I’ve install the VS 2013 v3 update and then the SQL Server Data Tools - June 2013 update. I don’t think v3 is required, but it’s a good upgrade to do anyways. ......

Posted On Monday, July 1, 2013 11:43 AM

Copyright © Aligned | Powered by: