File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes Design Pattern ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Design Pattern ? " Watch "Design Pattern ? " New topic
Author

Design Pattern ?

Arbnor Qeku
Greenhorn

Joined: May 21, 2013
Posts: 5
Can someone explain me what is actually Design Pattern with an example ???

I have read some article but i didn't understand it very well

If i read a book Design Pattern (head first pattern) what i will learn ?

What does it mean pattern in programming ???

Which book should i go for ( i completed Head First Java ) ?

Head First Software Development , Head First Pattern , Head First Object-Oriented Analysis and Design

Thank YOu
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7542
    
  18

Arbnor Qeku wrote:Can someone explain me what is actually Design Pattern with an example ???

Well, according to Wikipedia, it's a
"general reusable solution to a commonly occurring problem"
which seems like pretty good description to me.

As for examples, I suggest you take a look at the Wikipedia pages on some of the more common ones, like this one.

If i read a book Design Pattern (head first pattern) what i will learn ?

How not to write different code to solve the same problem; and also how to spot "the same problem" when it crops up in different guises.

What does it mean pattern in programming ???

Sounds to me like your just machine-gunning now. That's the same question as you asked above in different words, and already answered.

Which book should i go for ( i completed Head First Java ) ?

Well, this one is the grandaddy of them all, and it's the one I read; but others may have different suggestions.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

A design pattern is a technique that comes up repeatedly in software. It's a reusable solution to the same problem. For example, it is common to want just one instance of a class in your application. Maybe it has a counter in it so you want everybody to go through that class. The solution is the Singleton pattern.

Head First Design Patterns is a good first book on the topic. The table of contents is online so you can see what you will learn.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Design Pattern ?
 
Similar Threads
StrutsConfig.xml dilemma
Interface as a parameter
design pattern
decoupled?
what are the design pattern are used in Java ?