I know that almost all of us know what are “Design Patterns”. I am not inventing anything new here but presenting a new/fresh perspective to the Design Pattern applied to Java.
This is an introductory post to the series of post that will follow explaining each one of them with respect to Java.
I am going to quote the very basic definition of a Design Patten here.
“If a problem occurs over and over again, a solution to that problem has been used effectively. That solution is described as a pattern. The design patterns are language-independent strategies for solving common object-oriented design problems. SUN suggests GOF (Gang Of Four–four pioneer guys who wrote a book named “Design Patterns”- Elements of Reusable Object-Oriented Software)”.
Now simply put, Design Pattern is like:
- Asking Apple to pack your old Samsung Phone
- Asking a Fashion photographer like “Andrea Klarin” for taking your Profile Picture for a Passport
- Asking a question to GOD and getting the answer immediately that will work all the time.
- If you wan to to kill someone, there are many ways, best is to “slap him first and then, put a bullet in his head”.
- Finally, get the things done in a proven, workable and efficient way.
As per the “Gang Of Four”, there are three majorly known groups for Standard Design patterns:
- Creational
- Structural
- Behavioural
Below is a list of all Design patterns grouped by their types.
I read through some sites which says there are more than 200 design patterns but to me they are just pointing out poor coding practices.
As of now only 23 are well known and documented “Design Patterns”.
Now the question comes, “DO I NEED TO USE ALL THESE PATTERNS?” Answer to that is “Depends”. I personally don’t use all. there are only a few favourites which I personally use and recommend to use wherever possible.
Its like, when you are thorough with them, you will know for sure that the functionality will work 100% in all aspects of Software Engineering. One thing that Design patterns has benefitted me is the Way I design solution on any programming language or platform.
I will be explaining each of the pattern in detail with example applied to Java and hoping that it will benefit in more or less the same way for some of you guys out there!
Watch the space for updated Information. Let me know if you are looking for a specific pattern in detail, I can put more details on it.
lose fat with Nuretix Research says
excellent publish, very informative. I’m wondering why the opposite specialists of this sector don’t understand
this. You should proceed your writing. I’m confident, you’ve a great readers’ base
already!
cell phone spy free trial download says
Thanks for ones marvelolus posting! I certainly enjoyed reading it, you happen to bbe a great author.I will
make certain to bookmark your blog and will eventually come
back at some point. I wnt to encourage that you continue your great work, hhave
a nice holoiday weekend!
symbian Tracking says
Hello just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading properly.
I’m not sure why but I think its a linking issue. I’ve tried it in two different internet
browsers and both show the same results.
Abhishek says
It’s working fine at my end.
cell phone spy does it really work says
I am really pleased to glance at this webpage posts
which consists of tons of vapuable information, thanks for providing these kinds of information.