Friday, 14 January 2011

My, it has been a while.  I'd like to claim that I was off doing something of world shaking import, or at least developing software that no one can live without, but frankly it was just the daily grind(s) that kept me from adding a few more kilobytes to the internet's ever expanding waistline.

I'm back because I’ve been doing short Design Pattern presentations for Rock NUG, and I have been promising to post the power points and code for months, so why not now? Why not here?

I’ve just been following the fun and informative, Head First Design Patterns, which is a Java book (shhhh!), and working up some C# examples.

Observer Pattern

Hold on loosely, but keep in the know.

Source

Presentation

Decorator Pattern

Make objects open for extension, but closed for modification.

Source

Presentation

Factory Pattern

Code around abstractions, not implementations.

Source

Presentation

Singleton Pattern

One class to rule them all.

Source

Presentation

That’s it for now.  Stay tuned next (indeterminate period of time) for more Design Pattern fun.

PS.  Was feeling a little retro, so all the files were uploaded using command line FTP.

Friday, 14 January 2011 02:25:00 (Eastern Standard Time, UTC-05:00)   #     Comments [0]  | 

Theme design by Dean Fiala

Pick a theme: