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
Rails notes, from the .NET side
Trusted Subsystem, WCF and IIS 5 - revisited
Trusted Subsystem, WCF and IIS
Integrating StructureMap with WCF
Arrange Act Assert and BDD specifications
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
Domain Driven Design
Domain-Driven Design
Entity Framework
Legacy Code
LINQ
LINQ to SQL
Misc
MonoRail
MSBuild
MVC
NBehave
PabloTV
Patterns
People
PTOM
Rails
Rant
Refactoring
SQL
StructureMap
TDD
Team Build
Testing
Tools
VSTS
WCF
News
Archives
August 2008
(1)
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
Chief disinformation radiator
Browse by Tags
All Tags
»
Domain-Driven Design
(
RSS
)
ASP.NET MVC
C#
LINQ
LINQ to SQL
Patterns
Rant
Refactoring
SQL
Entities and the Law of Demeter
The Law of Demeter , and its corresponding code smell, Inappropriate Intimacy , are some of the best bang-for-your-buck code smells that you can address. The basic idea behind each of these concepts is code related to an object should probably be inside...
Posted
Jul 07 2008, 07:51 AM
by
bogardj
with | with
11 comment(s)
Filed under:
Domain-Driven Design
,
Refactoring
Designing primary keys
When creating a primary key for a table, we have a few options: Composite key Natural key Surrogate key Each has their own advantages and disadvantages, but by and large I always wind up going with the last option. Composite keys Composite keys are primary...
Posted
Jun 04 2008, 10:01 PM
by
bogardj
with | with
24 comment(s)
Filed under:
Domain-Driven Design
,
SQL
The MVC Storefront Challenge!
In Rob Conery's recent post on the MVC Storefront example he's been working on, he got some comment to basically toss out Linq2SQL and use NHibernate instead. Blah. How about the community does it instead? I'm not looking for an us vs. them...
Posted
May 20 2008, 11:25 PM
by
bogardj
with | with
14 comment(s)
Filed under:
Domain-Driven Design
,
LINQ to SQL
,
ASP.NET MVC
Entities, Value Objects, Aggregates and Roots
Taking a small detour before I deliver the first installment in the Domain-Driven Design: Supple Design Patterns series, I'd like to cover the basic elements of Domain-Driven Design modeling: Entities Value Objects Aggregates and Roots I'd like...
Posted
May 20 2008, 10:59 PM
by
bogardj
with | with
18 comment(s)
Filed under:
Domain-Driven Design
Domain-Driven Design: Supple Design Patterns Series
At last week's Austin DDD Book Club , we discussed my favorite chapter in Evans' Domain-Driven Design book : Supple Design. Modeling is an important exercise in Domain-Driven Design, but it's not enough to have a codebase that's easy to...
Posted
May 15 2008, 07:37 AM
by
bogardj
with | with
6 comment(s)
Filed under:
Domain-Driven Design
Enhancing mappers with LINQ
The "big 3" higher-order functions in functional programming are Filter, Map and Reduce. When looking at the new C# 3.0 LINQ query operators, we find that all three have equivalents : Filter = Where Map = Select Reduce = Aggregate Whenever you...
Posted
May 08 2008, 07:49 AM
by
bogardj
with | with
12 comment(s)
Filed under:
Domain-Driven Design
,
C#
,
LINQ
Guidelines aren't rules
I'm a huge fan of the Framework Design Guidelines book. It provides great instruction on creating reusable libraries, based on Microsoft's design on the .NET Framework. But it's important to remember that guidelines aren't rules . Guidelines...
Posted
Apr 15 2008, 07:24 AM
by
bogardj
with | with
5 comment(s)
Filed under:
Domain-Driven Design
,
ASP.NET MVC
Mapping options in LINQ to SQL
A recent thread on the ALT.NET message board asked: How does everyone create the DataContext for their DB? Do you use the IDE and generate your custom .dbml (which also generates all your DTO's)? Do you use a generic DataContext object and just .GetTable<>...
Posted
Mar 18 2008, 10:15 PM
by
bogardj
with | with
5 comment(s)
Filed under:
Domain-Driven Design
,
LINQ to SQL
Moving past stored procedures
On Chad's recent SQL-assembly comparison post , a few interesting comments caught my eye proclaiming the glory of stored procedures. From tom (no link): [Stored procedures] are not only useful for speed but also for ACID and to keep business logic...
Posted
Feb 22 2008, 08:15 AM
by
bogardj
with | with
10 comment(s)
Filed under:
Domain-Driven Design
,
Rant
Customer-facing identifiers
I'm still installing miscellaneous drivers for my work laptop (Dell Inspiron 1501). I just downloaded an additional printer driver for an office printer, but can anyone tell me in less than 5 seconds, without Googling, which file is the printer driver...
Posted
Jan 17 2008, 10:48 AM
by
bogardj
with | with
1 comment(s)
Filed under:
Domain-Driven Design
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
Some Domain-Driven Design resources
Eric Evans' book may be the definitive resource, but there's quite a lot of supporting information on print and on the web. For those looking to start looking at what all the DDD buzz is about, or just wanted to catch the next acronym wave, here's...
Posted
Oct 19 2007, 09:35 AM
by
bogardj
with | with
2 comment(s)
Filed under:
Domain-Driven Design
Copyright Los Techies 2007. All rights reserved.