Sign in
|
Join
|
Help
in
Current Tags
Jimmy Bogard
LosTechies
(Entire Site)
Home
Merchandise
Blogs
Downloads
The Lounge
Ads by The Lounge
This Blog
Home
Contact
Syndication
RSS
Atom
Comments RSS
Recent Posts
Three simple Rhino Mocks rules
Transitioning between consulting projects
Windows 2008 Workstation and Live Writer
JavaScript block scoping
A TDD investment addendum
Tags
Agile
ALT.NET
altnetconf
ASP.NET
ASP.NET MVC
Austin Code Camp
Austin DDD Book Club
BDD
Behave#
Behavior-Driven Development
C#
Code smells
Continuous Integration
Design
Domain Driven Design
Domain-Driven Design
Entity Framework
JavaScript
Legacy Code
LINQ
LINQ to SQL
Misc
MonoRail
MSBuild
MVC
NBehave
NHibernate
PabloTV
Patterns
People
PTOM
Rails
Rant
Refactoring
Rhino Mocks
SQL
StructureMap
TDD
Team Build
Testing
Tools
VSTS
WCF
News
Archives
October 2008
(3)
September 2008
(10)
August 2008
(11)
July 2008
(12)
June 2008
(11)
May 2008
(15)
April 2008
(10)
March 2008
(15)
February 2008
(13)
January 2008
(19)
December 2007
(9)
November 2007
(17)
October 2007
(23)
September 2007
(10)
August 2007
(11)
July 2007
(11)
June 2007
(9)
May 2007
(14)
April 2007
(7)
Jimmy Bogard
Assistant to the assistant to the regional manager
Browse by Tags
All Tags
»
Patterns
(
RSS
)
C#
Domain-Driven Design
LINQ to SQL
MonoRail
NHibernate
Refactoring
TDD
Testing
Strategies and discriminators in NHibernate
I recently posted about enumeration classes , and how I like to use them as a sort of "Enumerations with behavior". Not every enumeration should be replaced with a class, but that pattern helps quite a bit when I find a lot of switch statements...
Posted
Aug 26 2008, 11:44 PM
by
bogardj
with | with
9 comment(s)
Filed under:
Patterns
,
NHibernate
Separation of Concerns by example: Part 3
We made quite a bit of progress separating out the concerns in Part 2, but there are still some issues with our current design. Other parts in this series include: Separation of Concerns - how not to do it Separation of Concerns by example: Part 1 - Refactoring...
Posted
Jun 26 2008, 11:14 PM
by
bogardj
with | with
12 comment(s)
Filed under:
Patterns
,
Refactoring
,
LINQ to SQL
Unit testing MonoRail controllers - Redirects
When developing with MonoRail , one of the common operations is to redirect to other controllers and actions. Originally, I looked at the BaseControllerTester to help test, but it required a little too much knowledge of the inner workings of MonoRail...
Posted
Feb 18 2008, 09:40 PM
by
bogardj
with | with
7 comment(s)
Filed under:
Patterns
,
Testing
,
TDD
,
MonoRail
Intention-concealing interfaces: blob parameters
When someone is using your code, you want your code to be as explicit and easy to understand as possible. This is achieved through Intention-Revealing Interfaces. Evans describes the problems of opaque and misleading interfaces in Domain-Driven Design...
Posted
Nov 29 2007, 10:27 AM
by
bogardj
with | with
1 comment(s)
Filed under:
Domain-Driven Design
,
Patterns
,
C#
Specifications versus validators
Joe posed a great question on my recent entity validation post : I question the term Validator in relation to DDD. Since the operation of the Validator seems to be a simple predicate based on business rule shouldn't the term Specification [Evans Pg227...
Posted
Oct 25 2007, 09:19 AM
by
bogardj
with | with
5 comment(s)
Filed under:
Domain-Driven Design
,
Patterns
Entity validation with visitors and extension methods
On the Yahoo ALT.NET group , an interesting conversation sprung up around the topic of validation. Entity validation can be a tricky beast, as validation rules typically depend on the context of the operation (persistence, business rules, etc.). In complex...
Posted
Oct 24 2007, 10:52 AM
by
bogardj
with | with
10 comment(s)
Filed under:
Patterns
,
C#
Template Delegate Pattern
This post was originally published here . I've had to use this pattern a few times, most recently in Behave# . It's similar to the Template Method pattern , but doesn't resort to using subclassing for using a template method. Instead, a delegate...
Posted
Aug 29 2007, 08:51 PM
by
bogardj
with | with
no comments
Filed under:
Patterns
,
C#
,
Refactoring
Copyright Los Techies 2007. All rights reserved.