design patterns - facade pattern

7
FACADE PATTERN explained ! Prepared by Annamalai C Copyright 2006-2011 QmPe initiative

Upload: annamalai-c

Post on 04-Jul-2015

1.329 views

Category:

Technology


5 download

DESCRIPTION

This presentation is part of the Design Pattern Series. Presentation explains the use of Facade Pattern comparing it against a real life situation and then showcasing the Java implementation of the same.

TRANSCRIPT

Page 1: Design patterns - Facade Pattern

FACADE PATTERN explained !

Prepared by Annamalai C

Copyright 2006-2011

QmPeinitiative

Page 2: Design patterns - Facade Pattern

Copyright 2006-2011

Facade Pattern in Real Life

According to dictionary.comFacade is the front of a building, especially an imposing or a decorative one.Facade is like the Cover of the Book, the inner complexity is covered thru outer appeal.

Facade like Adapter Pattern is a Structural Pattern.

Page 3: Design patterns - Facade Pattern

Copyright 2006-2011

Facade Pattern in Java

Page 4: Design patterns - Facade Pattern

Copyright 2006-2011

Real Life vs Java Object

Page 5: Design patterns - Facade Pattern

Copyright 2006-2011

How Facade Pattern works in Real Life ?

You go to a Travel Agent to book your Vacation (Flight Tickets + Hotel Booking)You dnt care nor do you have to how he manages to get you all this.Façade Pattern is a 1 Stop Shop, that has a clean and an appealing approach.

Page 6: Design patterns - Facade Pattern

How Facade Pattern works in Java ?

Copyright 2006-2011

Page 7: Design patterns - Facade Pattern

Copyright 2006-2011

QmPeinitiative

THANK YOU

Please visit www.eclipseinclips.com | www.ancitconsulting.com

Write to us on [email protected]