Design Patterns

complete

Weaksauce
Joined
Aug 30, 2005
Messages
92
Where is a good source for learning Design Patterns?

Has anyone heard of what is called "Gang of 4" and "Model via Control"?
 
The best place to start is the book, "Design Patterns":

http://www.amazon.com/gp/product/02...7857/ref=pd_bbs_1/002-6284942-9328855?ie=UTF8

The authors of this book are collectively referred to as the "gang of four".

I believe the design pattern you are referring to is the "Model-View-Controller" pattern which is a pretty common pattern when developing an application that has a UI (the view) that has some sort of business flow logic (the controller) and interfaces with a backend data store (the model) . You can read more about it here: http://ootips.org/mvc-pattern.html
 
As an Amazon Associate, HardForum may earn from qualifying purchases.
Gang of Four refers to the four authors of the book "Design Patterns" - Erich Gamma, Helm, Johnson, and Vlissides. It is a good starting point for learning design patterns (it covers I think 21 patterns or so).

Also check out: http://hillside.net/patterns/onlinepatterncatalog.htm

And I believe you mean "Model View Controller" architecture rather than "model via control."
 
That's odd. It works fine for me; it leads to the abstract page where you can read about the article, the download whatever format you want (PS, PDF, and so on ...)

No worries; enjoy the read!
 
To be honest, I'm not sure that the GoF book would be suitable for you if you've not been programming for long. I don't know of a suitable one to recommend though. Once you;ve had a quick look at them, it might be good to read 'Holub on patterns' by the author of the same name.
The dofactory code samples & explanations are quite good as well.
Another book I will recommend, despite not being about patterns as much as the name implies (although being about methods in general is related) is 'Applying UML and Patterns' by Larman. It helped me a lot by taking away some of the mystique of making a large scale working system, which is what our final goal is after all...

(Isn't there a 'competing' pattern to mvc called pac?).
 
GoF is excellent, we actually used that in my class in college. It's not an easy read, by any means, but it's worth a shot, you'll use it sometime.
 
Back
Top