CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Raymond Lewallen

Framework Design, Agile Coach, President Oklahoma City Developers Group, Microsoft MVP C#, TDD, Continuous Integration, Patterns and Practices, Domain Driven Design, Speaker, VB.Net, C# and Sql Server

Common Design Patterns Solution File from my presentations

Sorry, I thought I had put this up.  This is the solution file that contains the quick presentation and simple examples on some common and basic design patterns.  This is quite the popular presentation, and I'll be doing it again April 2nd at the Oklahoma City Developers Group meeting.

Download the zip file here.  As discovered by jdn, use FireFox to download the file from this link, as IE is messing up the zip file.

Alternate location to download the zip file



Comments

bclubb said:

You may give it another try Steve.  I was just able to pull it down and open up the solution.

# March 29, 2007 7:08 PM

Raymond Lewallen said:

I tried it too Steve, and it worked alright.  If anybody has any problems with it, just contact me via my contact form link at the top of this page and I'll email it to you.

# March 29, 2007 7:34 PM

Raymond Lewallen said:

Also, there are a few folders in that solution that don't particularly pertain specifically to design patterns, but to just plain proper framework design.  This download is actually part of a larger presentation set.

# March 29, 2007 7:35 PM

jdn said:

FWIW, I had the exact same issue, both at work and at home.  I've seen this before from CodeBetter downloads, but have no specific idea what causes it.  It is IE related (both ie6 and ie7), as I was able to download it from Firefox without a problem.

FWIW, part 2, the image captcha does *not* appear in Firefox (2.0.0.1).  So I had to open the URL in Firefox to download the file, then come back to IE/Maxthon to leave this comment.

More importantly, thank you for making this available.

# March 29, 2007 8:16 PM

Raymond Lewallen said:

Oddly enough, when I download it via IE, it downloads a 3.5MB file, and its really only 2.3MB.  FireFox does it right.  I'll see if I can't get that figured out.

# March 29, 2007 8:26 PM

Sasa said:

Question: why do you prefer parameterless ctors?

In the comment of CreateSetCall.cs you say "avoid requiring the user to have to specify more information than absolutely necessary".

I completely agree with this, however, I would add - avoid allowing the user to be able to specify less information than absolutely necessary.

(Note: I havent seen the presentation, so maybe I'm missinterpreting something here.)

# April 15, 2007 1:20 AM

Raymond Lewallen said:

Sasa,

Parameterless ctor's are clean and simple.  I understand your point, and its certainly a case that arises often.  Since I do private field checking on method calls, an exception will get thrown if something is not set via property prior to a method call that the particular method must have.  An alternative is to require the value to the method call itself as a parameter to enforce the need for the value there instead of forcing it via the ctor.

# April 25, 2007 3:00 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Raymond Lewallen

Working primarily in the public sector during his career, Raymond has designed and built several high profile enterprise level applications for all levels of the government. Raymond now works as a solutions architect for EMC. Raymond is an agile coach, Microsoft MVP C# and also president of the Oklahoma City Developers Group and Oklahoma Agile Developers Group. Raymond spends a lot of his time learning and teaching such things as Test Driven Development, Domain Driven Design, Design Patterns and Extreme Programming practices and principles, to name a few. Raymond is also an advocate of Alt.Net. Raymond is primarily a framework guy, so don't ask him anything about UI :) Check out Devlicio.us!