aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Where to start? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Where to start?" Watch "Where to start?" New topic
Author

Where to start?

Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

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?

!_I_Know_Kung_Fu_!
Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1242
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

Joined: Mar 01, 2001
Posts: 223
Cooper's book: Java Design Patterns is good for Java Developers.
Sanjay
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
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

Joined: Dec 04, 2000
Posts: 6037
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

Joined: Jul 19, 2001
Posts: 3
Sun's j2ee blueprints and patterns could be a good starting point
Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
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

Joined: Sep 20, 2001
Posts: 65
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


David Kane<BR> <A HREF="mailto:david_kane@houseofyin.com" rel="nofollow">david_kane@houseofyin.com</A> <BR>Author of <A HREF="http://www.amazon.com/exec/obidos/ASIN/0130290327/ref=ase_electricporkchop/103-0514572-3811868" TARGET=_blank rel="nofollow">Software Architecture: Organizational Principles and Patterns</A><BR><A HREF="http://www.vraps.com" TARGET=_blank rel="nofollow">http://www.vraps.com</A><BR><A HREF="http://www.houseofyin.com" TARGET=_blank rel="nofollow">http://www.houseofyin.com</A>
a glover
Greenhorn

Joined: Aug 14, 2001
Posts: 12
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

Joined: Aug 26, 2000
Posts: 1242
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

Joined: Aug 30, 2001
Posts: 898
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

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Aug 30, 2001
Posts: 898
It is not free and not on UML
Lee Xu
Ranch Hand

Joined: Aug 24, 2001
Posts: 77
Beside GoF book, is there any valuable online tutorial for most patterns? Thanks
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Aug 26, 2000
Posts: 1242
The author of "Thinking in Java"
Free free free free..
here is "thinking in patterns" http://www.mindview.net/Books/TIPatterns/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where to start?