Monthly Archives: April 2007

How to enlist ADO commands into an NHibernate transaction

Adoption of NHibernate in a legacy environment can be daunting for a number of reasons.  Aside from the overhead of becoming proficient with the framework itself, developers are also faced with thousands of lines of working (it’s assumed) code that … Continue reading 

Posted in Enlist, Legacy Systems, NHibernate, Transactions | 1 Comment

Reflectionesque behavior in JavaScript

  Here’s a little something in my continued investigation of JavaScript and its many wonders (man, that sounds strange!)… Okay, so for today’s topic I’ll look at some ‘reflectionesque’ behavior of JavaScript.  As many know, the class Object can be … Continue reading 

Posted in JavaScript, jscript, scripting | Leave a comment

How’d he get that image up there?

First off, I’m not much of a blogger so I’m not quite up to speed on the tips and trick of blogging.  I saw recently pretty pictures in one of Nellie’s blogs and was instanly green with envy.  I wanted … Continue reading 

Posted in Tools | 1 Comment

Term of the Day: Principle Of Least Surprise – Epilogue

Okay, this is funny.  Little did I know that while writing “Term of the Day: Principle Of Least Surprise” I was entering the midst of just such a problem. The entry was written over a 2-3 hour span during compile … Continue reading 

Posted in Agile, Best Practices, Principles, TDD, Unit Tests, Why We Rock | Leave a comment

Term of the Day: Principle Of Least Surprise

The principle of least surprise (AKA POLS) simply dictates that the interface to any given entity (method, for instance) should exhibit the bevahior that is least suprising to the user/programmer when there are conflicts or ambiguities between members of said … Continue reading 

Posted in Best Practices, Principles | Leave a comment

Another great JavaScript article

Sorry all, I’ll probably be over this JavaScript tear soon enough, but now that I’ve given the language another glance it has really caught my eye this time.  I can only explain my recent engagement with the language as a … Continue reading 

Posted in JavaScript, scripting | Leave a comment

C# -> JavaScript

Joe had asked me recently if I thought I might want to make a tool that compiles C# into JavaScript.  I might want to futs with something like that, but fortunately I don’t have to any time soon.  There’s already … Continue reading 

Posted in c#, compiler, JavaScript, scripting | 2 Comments