• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

most common patterns

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds reasonable.

Factory method, Factory pattern, Singleton, Facade, DAO, ServiceLocator
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Command, Facade, Factory, MVC, Singleton, ServiceLocator, DAO
(servicelocator could be implemented as a Singleton though)
 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Add value object(Transfer object) pattern.
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Observer, Composite, Factory, Strategy
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Space pants. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic