| Author |
Preparing for Design Patterns using GOF book?
|
Amandeep Singh
Ranch Hand
Joined: Jul 17, 2008
Posts: 832
|
|
|
I've already gone thru HFDP's book. Now I'm going thru GOF book, it seems this book really is explaining patterns in detail and length and also to the point. Only problem I do see now is, the book is mentioning C++ code example, do you know of any site which provides the same code examples but in Java language?
|
SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
|
 |
Amandeep Singh
Ranch Hand
Joined: Jul 17, 2008
Posts: 832
|
|
|
So far, I found out this site most nearest to GOF book code- http://www.oodesign.com/
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26157
|
|
|
The concepts are the same. The exam isn't asking code level questions.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Amandeep Singh
Ranch Hand
Joined: Jul 17, 2008
Posts: 832
|
|
Jeanne Boyarsky wrote:The concepts are the same. The exam isn't asking code level questions.
Agreed. So far I've crammed all the names of design patterns. To understand really what's the purpose/intent of design pattern, I'm going thru the examples and diagrams.
I'm unable to understand or the intents of DP's they don't really make sense to me unless I run thru the code.
Example-
Builder Pattern
Intent
Defines an instance for creating an object but letting subclasses decide which class to instantiate
Refers to the newly created object through a common interface
If you look above intent, this is pretty general statement, and it almost applies to all design patterns since almost all use abstract implementation.
In short I do see going thru diagrams only make me really understand the pattern otherwise it's all cramming business.
May you can put your insight forward, which I can use as a way to get the DP's in to my brain.
|
 |
Jari Timonen
Ranch Hand
Joined: Jan 16, 2004
Posts: 230
|
|
|
Answer is closer than you think: Wikipedia, Design Patterns with links to patterns
|
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
|
 |
 |
|
|
subject: Preparing for Design Patterns using GOF book?
|
|
|