?
Solved

design patterns practical uses

Posted on 2013-11-11
1
Medium Priority
?
395 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 2000 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

Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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