5,921 reputation
21838
bio website devadept.com
location Scottsdale, AZ
age
visits member for 3 years, 9 months
seen yesterday

twitter: @mr_eking


1d
comment Repository pattern implementation that knows nothing (Jon Snow) about the database table and column names
I'm going to back up @BenjaminHodgson here. The repository is supposed to be the one place that your app is coupled to the data retrieval specifics, which in this case is a relational database schema. The point of a repository is to get the data out of the data source and 'hydrate' the domain objects for use by the rest of the app. Adding an extra layer of abstraction at that level is ... pointless.
2d
comment Break from loop, in a loop, a loop?
This is a distinctly programming phrase that happens to be using the English language. It would be a shame if this terminology question were closed because the jargon happens to be in English.
Jul
8
awarded  Custodian
Jul
8
reviewed Approve suggested edit on How to start programming?
Jul
8
comment MVC and the business rule
@DPhil I'm from the school of thought that the controller should have no business logic whatsoever. Examples here and here.
Jul
2
comment Entirely separate business logic layer from MVC
FYI, I answered a similar question here. Maybe it could be of some help.
Jul
1
awarded  Good Answer
Jul
1
awarded  Nice Answer
Jun
30
answered Going through The C Programming Language K&R in Visual Studio
Jun
24
answered What does it mean when code “runs on” the .NET CLR?
Jun
12
comment Reconciling the Boy Scout Rule and Opportunistic Refactoring with code reviews
I'm just going to chime in and say that it is definitely not impossible, as I see it done all the time. Make the change you would make without the refactoring, check it in, then refactor to clean up, and check that in. It's not rocket science. Oh, and be prepared to defend why you consider it worthwhile to have spent the time refactoring and reviewing the refactored code.
Jun
11
comment Circular dependency and object creation when attempting DDD
I agree with this answer. It much more realistically models how the business likely works (I doubt each Person contains and Organization, nor can an Organization create a Person), which ultimately is what DDD is all about.
May
8
answered If this isn't a user story, what is it?
May
8
comment How do we isolate dependencies for a .Net app deploy in a way which is safe for a strongly-named assemblies?
@Saber Did you read the comments of the article you posted? The author states, in response to a question: "In 2.0 the assemblies are not loaded domain neutral so you are right:) there was a very specific reason i mentioned 1.1."
May
7
comment How do we isolate dependencies for a .Net app deploy in a way which is safe for a strongly-named assemblies?
That Microsoft article you linked to was written in 2006 and applies specifically to ASP.NET 1.1 only. The problem doesn't exist in 2.0 or above. Are you strictly dependent on ASP.NET 1.1 still?
Apr
29
comment To Repository Or Not To Repository
As an aside, if you're talking about 'Repository' as it's described in DDD, then EF and nHibernate aren't repositories. Sure, they partially abstract the mechanism of data access, but there's much more to a repository than that.
Apr
28
comment Getting coders to do code review
+1 It may be easy to hire developers, but it's still hard to hire developers who care.
Apr
22
comment How to restrict the violation of an N-Tier Architecture
I am not personally aware of anything in the Java space, but there is this SO question that may help.
Apr
22
answered How to restrict the violation of an N-Tier Architecture
Apr
22
answered asp.net mvc vs angular.js model binding