Raba - Defend your code RSS 2.0
# Saturday, August 18, 2007

I thought about the time we all spend on reading some well known patterns. I found this strange reading again and again the same logic. We all know the pattern but we doing it to be sure we use all the best practices.

Inspired by the book: Head First - Design Patterns, I rewrite the two basic patterns of Strategy and Observer. and create a snippets for your own use. so next time you won't need to get to Google it up.

Here are the snippets, for your own use: (right click & download)
Strategy.snippet
Observer.snippet

More to come on the next posts.


Remark: There could be a lot of variation for those patterns, those I wrote here were taken as a combination of the books samples and a few best practices I found out.
Saturday, August 18, 2007 5:33:24 PM (GMT Daylight Time, UTC+01:00)  #    Comments [3] - Trackback
.Net 2.0 | Design Patterns

Wednesday, August 22, 2007 4:13:55 PM (GMT Daylight Time, UTC+01:00)
Shani,
Why you desn't use the IPropertyChanged Interface in the snippet of the Observer.

Nice work.
Yoav Michaeli
Thursday, August 30, 2007 8:03:54 AM (GMT Daylight Time, UTC+01:00)
Nice work, waiting for the next post.
Simon
Monday, October 22, 2007 10:30:43 PM (GMT Daylight Time, UTC+01:00)
Hi,
Thanks.

More posts in the near future...
Comments are closed.
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Shani Raba
Sign In
Statistics
Total Posts: 145
This Year: 0
This Month: 0
This Week: 0
Comments: 97
Cool Stuff
Add to Technorati Favorites
Themes
Pick a theme:
All Content © 2012, Shani Raba
DasBlog theme 'Business' created by Christoph De Baene (delarou)