August 26, 2009
I am spiking out right now what it takes to use a Mass Transit as a message bus for handling a simple producer consumer messaging architecture. To be exact I want to see how easy it is to get Mass Transit working using StructureMap for an IoC container. Dovetail uses Inversion of Control extensively to make our code more: testable and able to leap tall buildings, dodge bullets, and all that. Our favorite IoC container is StructureMap. Why? Because it is great and we have two contributors on staff: creator Jeremy Miller and the brainy Josh Flanagan. Getting Started My first step was to grab the Mass Transit trunk from SVN, build it and start up a new solution with three projects: Producer – produces messages. Consumer – consumers messages. Common – code shared between producer and consumer. In this…
Producing and Consuming Messages using MassTransit and StructureMap
August 26, 2009
I am spiking out right now what it takes to use a Mass Transit as a message bus for handling a simple producer consumer messaging architecture. To be exact I want to see how easy it is to get Mass Transit working using StructureMap for an IoC container. Dovetail uses Inversion of Control extensively to make our code more: testable and able to leap tall buildings, dodge bullets, and all that. Our favorite IoC container is StructureMap. Why? Because it is great and we have two contributors on staff: creator Jeremy Miller and the brainy Josh Flanagan. Getting Started My first step was to grab the Mass Transit trunk from SVN, build it and start up a new solution with three projects: Producer – produces messages. Consumer – consumers messages. Common – code shared between producer and consumer. In this…
August 25, 2009
I needed to add a new feature today, and wanted an easy client-side solution. Since I use jQuery in the project already, I searched and found a good starting point in a blog post by Bill Richards. The code I found adds a function and a sort handler that can be applied to a list. jQuery.fn.sort = function() { return this.pushStack( [].sort.apply( this, arguments ), []); }; function sortAlpha(a,b){ return a.innerHTML > b.innerHTML ? 1 : -1; }; Here is a simple example of the HTML I am working with: <ul id="caseListing"> <li> <div id="1"> <a href="/Cases/Show/1">Case 1</a>: need help with VPN connection </div> </li> <li> <div id="3"> <a href="/Cases/Show/3">Case 3</a>: blue screen of death upon login </div> </li> <li> <div id="6"> <a href="/Cases/Show/6">Case 6</a>: Computer has no power </div> </li> </ul> …
August 5, 2009
I received this email from Amdocs Product Support, announcing the winning customer for this month.For this month, the winning *customer* is: an Amdocs employee.<shaking head in disbelief>