Design patterns -   Decorator pattern
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Design patterns - Decorator pattern

on

  • 995 views

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

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

Statistics

Views

Total Views
995
Views on SlideShare
995
Embed Views
0

Actions

Likes
0
Downloads
20
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Design patterns - Decorator pattern Presentation Transcript

  • 1. QmPe initiativeDECORATOR PATTERN explained ! Prepared by Annamalai C Copyright 2006-2011
  • 2. Decorator Pattern in Real Life Decorates DosaCopyright 2006-2011
  • 3. Decorator Pattern in Java DecoratorClient Component Decorator Concrete Component Concrete Decorator Copyright 2006-2011
  • 4. Real Life vs Java Object Component Concrete Component Copyright 2006-2011
  • 5. Real Life vs Java Object Component Decorator Concrete Decorator Copyright 2006-2011
  • 6. How Decorator Pattern works in Real Life ? 1 Orders a Dish from Menu makes decorates Receives the Name of the Dish 2 Creates the Dish 3 Delivers the Dish Copyright 2006-2011
  • 7. How Decorator Pattern works in Java ? Copyright 2006-2011
  • 8. THANK YOU Please visitwww.eclipseinclips.com | www.ancitconsulting.com Write to us on info@ancitconsulting.com QmPe initiative Copyright 2006-2011