Choose the right pattern
Choose the right pattern

Learning will be fun when we relate to real life situation. Smartphones are used by all age groups and introducing Design Patterns with reference to Smartphone features will help in relating and recalling them. Here I have listed only the patterns that may be used to build Smartphone features and not the code.

Creational Patterns Dual SIM (Abstract Factory), Themes (Builder), Payment (Factory Method), Camera (Singleton), Browser Tab (Prototype)

Structural Patterns Bluetooth (Adapter), Share (Bridge), Review (Composite), Caller Tune (Decorator), Call (Facade), Existing Contact (Flyweight), Whatsapp Auto Download (Proxy)

Behavioral Patterns Markup (Command), Calculator (Interpreter), Iterator (Youtube), Merge Calls (Mediator), Undo (Memento), Rotate (Observer), Airplane Mode (State), Wifi (Strategy), Directions (Template), Amazon Cart (Visitor), Call Fwd (Chain of Responsibility)

--

--