Many of us shudder when we hear some one blabbering on Design Patterns.
Well, there is nothing to fear, as the beauty of design patterns lies in the fact that we have all used it some where unknowingly. Well, may be not all, but some of them at least. Have you heard of MVC (Model-View-Controller) pattern? Yes? Good. Have you used it? No? Are you sure? The very code-behind architecture in Visual Studio .NET (the idea of separating code (controller) from the presentation (view)) is based on MVC pattern.
Have you heard your OO evangelist yelling : "Code against Interface, not implementation!"? He is referring to Strategy Pattern.
The event handling in .NET is based on the Observer Pattern.
Now you get the picture, right? So dont hold behind. If you are new, get hold of the Head First Design Patterns book and have a wonderful ride!
Disclaimer: No, I don't get paid by O'Reilly! I just love the book!
Thursday, March 22, 2007
Saturday, March 03, 2007
An attempt to learn Design Patterns
Months ago I had picked up a Design Patterns book titled Head First Design Patterns. This book took me to ride with the very first chapter. But unfortunately, due to busy work load, I could not continue reading the rest. And every time I see that book in my shelf, I feel guilty.
And again, it would not be my reading habit. It is the subject in itself. Unless and until you get your hands dirty by implementing the concepts discussed in this books, nothing would "remain" in your head. May be its just me.
I have decided to take it slow and get this book chapter by chapter. Read one chapter. Then discuss and share the principles with my peers. There are dudes at work who have similar interests in learning the design principles.
And again, it would not be my reading habit. It is the subject in itself. Unless and until you get your hands dirty by implementing the concepts discussed in this books, nothing would "remain" in your head. May be its just me.
I have decided to take it slow and get this book chapter by chapter. Read one chapter. Then discuss and share the principles with my peers. There are dudes at work who have similar interests in learning the design principles.
Subscribe to:
Posts (Atom)
Cookies, anyone?
Our application started having integration issues early March this year. Did I say that was intermittent? To add to our confusion, we coul...
-
Disclaimer: This post has nothing to do with washing or repairing cars. Well, I have been pondering over Managers and Management for lo...
-
I am a Hindu. But I did not know what it exactly meant till recently. More of the awareness came from the Satsangs (spiritual group discussi...
-
One of my colleagues came to me with a problem: He wanted to make the click event of button in his form to be activated when anyone pressed ...