Monthly Archives: August 2008

Thoughts on MVP and WebForms

I got an email from a friend asking about MVP in WebForms and how the view should do databinding.  There was talk of using a FormView and various *DataSource objects, so I thought I’d do a brain-dump of MVP and … Continue reading 

Posted in ASP.NET, MVP | 22 Comments

Getting Started With jQuery QUnit for Client-Side Javascript Testing

Setup First of all, I’m assuming you’re already using jQuery. If not, you should be :) QUnit may help you for non-jQuery testing, but it’ll work better with jQuery. Second, you should start by downloading and setting up QUnit (from … Continue reading 

Posted in jQuery, QUnit | 13 Comments

Good Design is not Subjective

In case you haven’t guessed by my recent flurry of posts, I’ve been engaged in some debates in the past few days about design philosophies and why some designs are “good” and some are “bad.”  I’ve been met with some … Continue reading 

Posted in Design | 28 Comments

Fluent NHibernate – Configuration

Used NHibernate?  Had to use the XML configuration (hibernate.cfg.xml)?  Remember this? <?xml version=”1.0″ ?> <hibernate-configuration xmlns=”urn:nhibernate-configuration-2.2″ > <session-factory> <property name=”connection.provider”>NHibernate.Connection.DriverConnectionProvider</property> <property name=”dialect”>NHibernate.Dialect.MsSql2005Dialect</property> <property name=”connection.driver_class”>NHibernate.Driver.SqlClientDriver</property> <property name=”connection.connection_string”>Server=(local);Initial Catalog=dbname;User Id=user;Password=********</property> </session-factory> </hibernate-configuration> Or maybe you write code like this: IDictionary<string, string> props … Continue reading 

Posted in Fluent NHibernate | 4 Comments

Let’s try it again… testability succinctly

My last try wasn’t that successful, so I’ll try it again: (In-language based) Testability is the residue of a good design.* Better? * (This is a slight play on John Milton’s famous quote ‘Luck is the residue of design’)

Posted in Design | 1 Comment

Fluent NHibernate LiveMeeting Chat – Wednesday 8/20

Last Wednesday, a few of us had an impromptu LiveMeeting chat to talk about Fluent NHibernate.  I thought it went well enough. It wasn’t scripted so the conversation meandered considerably, but I think everyone got a little out of it.  … Continue reading 

Posted in Fluent NHibernate, LiveMeeting | 7 Comments

Design and Testability

There was a rather healthy public discussion and debate going on via Twitter today between Roy Osherove, Ayende Rahien, Colin Jack, me, and several others. Michael Feathers even dropped in at one point which was cool.  This all started when … Continue reading 

Posted in Design, TDD | 14 Comments

Dovetail is Hiring Junior- to Mid-level Developer

*NOTE*: We have already filled this position. Thank you for everyone who submitted resumes!  Keep checking back as we may post more jobs in the future. Work for one of the most progressive development shops in the US. This is … Continue reading 

Posted in Uncategorized | 2 Comments

Query Objects with Repository Pattern Part 2

As promised in my previous post, I’m going to make our query object a little more flexible and dynamic. First, this is what I really want to be able to do something like this: var customers = repo.FindBy( new TopCustomersWithLowDiscountQuery() … Continue reading 

Posted in LINQ | 17 Comments

Query Objects with the Repository Pattern

Nate Kohari (whose primate brain is far too small to comprehend this post [inside joke, he’s actually really sharp]) was asking on Twitter today about how to structure his repositories: Per aggregate root, Per entity, or just one repository for … Continue reading 

Posted in LINQ, Repositories | 4 Comments