• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

most common patterns

 
Don Morgan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are conducting an informal survey to see what patterns are the most commonly used on real production systems.

In no particular order, the most common I have used are the Factory Pattern, Command Pattern, Template Method, MVC and Layers.

How about you?
 
Mike Farnham
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds reasonable.

Factory method, Factory pattern, Singleton, Facade, DAO, ServiceLocator
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Command, Facade, Factory, MVC, Singleton, ServiceLocator, DAO
(servicelocator could be implemented as a Singleton though)
 
kri shan
Ranch Hand
Posts: 1460
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add value object(Transfer object) pattern.
 
Eric Nielsen
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Observer, Composite, Factory, Strategy
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at http://faq.javaranch.com/view?DesignPatternsPoll - and participate, if you like...
 
Don Morgan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ilja. I know the GoF Patterns are certainly important - they are the foundation - but their work is over a decade old and there has been much progress since then. Could the page you posted be updated to include the patterns from the PoSA series, PEAA and the J2EE Patterns catalog? Any other key catalogs which need to be included?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Don Morgan:
Could the page you posted be updated to include the patterns from the PoSA series, PEAA and the J2EE Patterns catalog? Any other key catalogs which need to be included?


I fear the page would become too big. But there would be nothing wrong with creating new pages for the other patterns, and linking to them from the original page.

It's a wiki, so please just do it!
 
Don Morgan
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I did not realize it was a wiki (that's an interesting way to do surveys!).

Once I finish my next audiobook on Ajax (most of the writing and recording is done, should be only a week or two at most), I am planning to add infrastructure for surveys to our own website. I will post a link when its ready.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic