• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to start?

 
Andrew Shafer
Ranch Hand
Posts: 338
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Any opinions on the best approach to learning to properly apply patterns to your projects?
Any personal stories about patterns and how they have helped your programming skills?
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This book got me started.

Design Patterns Explained: A New Perspective on Object-Oriented Design
It is more on how to apply patterns then what is patterns.
Which it is great!!!
 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cooper's book: Java Design Patterns is good for Java Developers.
Sanjay
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are some good articles in JavaPro issues of this year and last year. I found they are helpful on how to apply patterns.
Ruilin
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good way to learn patterns (as well as many other programming concepts) is to form a study group. I recommend getting a bunch of classmates or co-workers together. Barring that, you can find or start your own group (which is also a good way to network). Check out this thread for more info http://www.javaranch.com/ubb/Forum5/HTML/000048.html
--Mark
 
Sajith Salim
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun's j2ee blueprints and patterns could be a good starting point
 
Wilfried LAURENT
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sanjay Bahal:
Cooper's book: Java Design Patterns is good for Java Developers.
Sanjay

Personally it don't find it is a good book to start with. An advantage is that it is available on-line at http://www.patterndepot.com/put/8/DesignJava.PDF
W.
 
David Kane
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone else mentioned a study group, and something like this can be important. The reason is that if you are the lone-wolf on your project trying to use patterns you won't get very far. At a minimum, you need to think about how to get not just yourself involved, but the other members of your team as well.
Dave
Originally posted by Andrew Shafer:

Any opinions on the best approach to learning to properly apply patterns to your projects?
Any personal stories about patterns and how they have helped your programming skills?


------------------
David Kane
david_kane@houseofyin.com
Author of Software Architecture: Organizational Principles and Patterns
http://www.vraps.com
http://www.houseofyin.com
 
a glover
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I highly recommend the vanguard book, Design Patterns, by the Gang of Four (Gamma, Helm, Johnson, and Vlissides). In addition, I would read some Java publications, such as Java Pro and Java Developers Journal. Incidentally, Java Pro has a column written by the author of Java Design Patterns, James Cooper. Also, I have read articles in the Java Report written by Vlissides and read articles in Java Developers journal by the others of the J2EE patterns book.


As for a strategy for learning patterns, if possible, I would try to find a mentor who knows what they are talking about and learn as much as possible from them. Study groups is a great idea too!
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Design Patterns Explained: A New Perspective on Object-Oriented Design by Alan Shalloway, James R. Trott
and
Design Patterns, by the Gang of Four (Gamma, Helm, Johnson, and Vlissides)
side by side is the best bet. This is my path and it is a pretty well path. I am going for Refactoring next.
Refactoring by by Martin Fowler, et al
good luck
[This message has been edited by FEI NG (edited November 15, 2001).]
[This message has been edited by FEI NG (edited November 15, 2001).]
 
Guennadiy VANIN
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wilfried,
that is just marvelous advantage. Not only because it is free, also because I was today for book shopping and could not find GoF, and they could not find it even in PC.
I also could not find (I only started looking for) free book on UML in the Internet (except some very primitive/short articles/manuals).
Any links on free UML (not jsut rudimentary) books/manuals?
FEI NG,
can you give more conventional reference, at least authors, for that igniting book?

[This message has been edited by G Vanin (edited November 15, 2001).]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a big fan of Effective Java (bunkhouse link) by Joshua Bloch. It isn't a Patterns book as such, but my view is that it provides a nice introductory bridge between writing and designing.
Rather than coming out and teaching patterns, it has a bunch of helpful programming solutions that just happen to include patterns information.
The first section talks about constructors and different ways to handle them. During the discussion it talks about private constructors and leads into Singletons and Factories, with a mention of other creational patterns.
So, if you're looking for a book on patterns, buy a book on patterns (like this week's promo ). But if you just want a foothold on pattrens while also buying a real useful book, I'm a fan of Effective Java.
Dave.
 
Guennadiy VANIN
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not free and not on UML
 
Lee Xu
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beside GoF book, is there any valuable online tutorial for most patterns? Thanks
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by G Vanin:
It is not free and not on UML

Except that the original topic is:
Any opinions on the best approach to learning to properly apply patterns to your projects?
Any personal stories about patterns and how they have helped your programming skills?

Changing the topic mid-thread wouldn't be fair to Andrew.
To answer your question:
Gee, if only there were some way of searching...

Dave.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lee Xu:
Beside GoF book, is there any valuable online tutorial for most patterns? Thanks

I haven't looked too extensively, but you could start at Cetus-links. Always a good place to start.
Dave.
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The author of "Thinking in Java"
Free free free free..
here is "thinking in patterns" http://www.mindview.net/Books/TIPatterns/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic