Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Patterns examples with code.

 
Priety Sharma
Ranch Hand
Posts: 156
Android Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am reading pattens.
I have read patterns like decorator , singleton, observer and some others like proxy and state.

I do understand them but my problem is when to use some of the pattersn.
Like singleton is very easy to understand when to use but the others are not.

So is there a book or a online document which offers application type of scenarios and asks us to suggest or use a patterns for that scenario and the itself gives the ideal answer and the classes using such patterns. So that one improve or learn to implement patterns properly.

Regards,
Priety.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I know, Design Patterns [GoF] is the most comprehensive resource about Design Patterns.
 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a Design Patterns [GoF] book written in java for free download.
i ckeck many sites.But i found the book written by C3 .Also it is not for free.
can any one help me.
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Download Java Companion for free. This book is also very good in understanding Design Pattern.
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Priety Sharma wrote:So is there a book or a online document


Also have a look at Design Pattern Links. Hope it helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic