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
»
Domain-Driven Design
(
RSS
)
ASP.NET MVC
Austin DDD Book Club
C#
LINQ
LINQ to SQL
Patterns
Rant
Refactoring
SQL
Services in Domain-Driven Design
Services are first-class citizens of the domain model. When concepts of the model would distort any Entity or Value Object, a Service is appropriate. From Evans' DDD, a good Service has these characteristics: The operation relates to a domain concept...
Posted
Aug 21 2008, 08:07 AM
by
bogardj
with | with
4 comment(s)
Filed under:
Domain-Driven Design
DDD, Repositories and ORMs
One of the confusing aspects of those new to DDD is the concept of a Repository. From Fowler's Patterns of Enterprise Application Architecture, a Repository: Mediates between the domain and data mapping layers using a collection-like interface for...
Posted
Aug 19 2008, 10:31 PM
by
bogardj
with | with
22 comment(s)
Filed under:
Domain-Driven Design
Austin DDD Book Club wrapped up
The last Austin DDD Book Club meeting came and went today, finishing up with the last couple of chapters in Evans' excellent Domain-Driven Design book (covering Chapter 17, Bringing the Strategy Together and the Conclusion). I want to thank our hosts...
Posted
Aug 14 2008, 09:37 PM
by
bogardj
with | with
5 comment(s)
Filed under:
Domain-Driven Design
,
Austin DDD Book Club
Enumeration classes
A question came up on the ALT.NET message board asking whether Value Objects should be used across service boundaries. Of course, the conversation took several detours, eventually coming to the question, "what do you do about enumerations crossing...
Posted
Aug 12 2008, 08:05 AM
by
bogardj
with | with
29 comment(s)
Filed under:
Domain-Driven Design
,
C#
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
14 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
28 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#
More Posts
Next page »
Copyright Los Techies 2007. All rights reserved.