Solved

design patterns practical uses

Posted on 2013-11-11
1
392 Views
Last Modified: 2013-11-22
Hi,

I was going through below design pattern examples at link

http://www.avajava.com/tutorials/categories/design-patterns

are these design patterns are enough to learn

Creational Design Patterns

Singleton Pattern
Factory Pattern
Abstract Factory Pattern
Builder Pattern
Prototype Pattern
Structural Design Patterns

Adapter Pattern
Composite Pattern
Proxy Pattern
Flyweight Pattern
Facade Pattern
Bridge Pattern
Decorator Pattern
Behavioral Design Patterns

Template Method Pattern
Mediator Pattern
Chain of Responsibility Pattern
Observer Pattern
Strategy Pattern
Command Pattern
State Pattern
Visitor Pattern
Iterator Pattern
Memento Pattern




If run all these examples am I good shape with all the design patterns. In real life i do not see i am using or applying much of the design patterns myself except may be the frameworks internally using them under-hood.


Which are the most important desing patterns that i need to focous on from the above ling.

please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 36

Accepted Solution

by:
mccarl earned 500 total points
ID: 39640665
are these design patterns are enough to learn
Asking that is like me asking you, is this piece of string in my hand long enough? Enough for what? If you are asking this because you want to become a top-notch expect in the "design pattern" field then probably not, but if you are just interested in maybe improving your code slightly to be better structured and easy to understand, then maybe yes it is enough, or maybe even too much. Only you can know that!

What I would say is rather than trying to memorize every little detail about every one of those patterns, just get a very basic idea of even just the groups of patterns (not even each specific one). So that when you are coding, you may better realise that "Oh, I am creating some objects here. Maybe I can apply a 'creation' desing pattern", and you go off and have a look of a few of the creation design patterns and see which fits your needs. Yes, over time you will probably get to know some of them quite well and can just apply them as you are coding.

But as for saying which are more important than others, is not something that we can really do, as it would be entirely different for each particular person and the type of coding/design that they do. What is important to me might not be very important to you.

So yeah, all I would say is to keep writing code, and over time that experience will start to help realise where you can apply patterns and what patterns to apply. I don't believe it's something that someone can just tell you how to do.
0

Featured Post

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question