English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 10 Hours | 3.30 GB
- Use of modern programming libraries and frameworks
- Use of modern developer tools such as JetBrains WebStorm
- Discussions of pattern variations and alternative approaches
This course provides an overview of all the Gang of Four (GoF) design patterns as outlined in their seminal book, together with modern-day variations, adjustments, discussions of intrinsic use of patterns in the language.
What are Design Patterns?
Design Patterns are reusable solutions to common programming problems. They were popularized with the 1994 book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (who are commonly known as a Gang of Four, hence the GoF acronym).
The appeal of design patterns is immortal: we see them in libraries, some of them are intrinsic in programming languages, and you probably use them on a daily basis even if you don’t realize they are there.
What Patterns Does This Course Cover?
This course covers all the GoF design patterns. In fact, here’s the full list of what is covered:
- SOLID Design Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion Principle
- Creational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and Singleton
- Structrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and Proxy
- Behavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method and Visitor
This course is presented as a (very large) series of live demonstrations being done in JetBrains WebStorm and presented using the Kinetica rendering engine. Kinetica removes the visual clutter of the IDE, making you focus on code, which is rendered perfectly, whether you are watching the course on a big screen or a mobile phone.
Most demos are single-file, so you can download the file attached to the lesson and run it in WebStorm, Atom or another IDE of your choice (or just run them from the command-line).
This course does not use UML class diagrams; all of demos are done via live coding.
What you’ll learn
- Recognize and apply design patterns
- Refactor existing designs to use design patterns
- Reason about applicability and usability of design patterns
2 Tools of the Trade
SOLID Design Principles
4 Single Responsibility Principle
5 Open-Closed Principle
6 Liskov Substitution Principle
7 Interface Segregation Principle
8 Dependency Inversion Principle
10 Gamma Categorization
13 Builder Facets
16 Factory Method
18 Abstract Factory
21 Explicit Copying
22 Copy Through Serialization
23 Prototype Factory
26 Singleton Implementation
28 Singleton Problems
32 Adapter Caching
38 Geometric Shapes
39 Neural Networks
48 Text Formatting
49 User Names
52 Value Proxy
53 Property Proxy
54 Protection Proxy
55 Virtual Proxy
Chain of Responsibility
58 Method Chain
59 Command Query Separation
60 Broker Chain
64 Command Undo
71 Array Backed Properties
73 Tree Traversal
76 Chat Room
77 Mediator with Events
81 Undo and Redo
85 Property Observers
86 Property Dependencies
89 Classic State
90 Handmade State Machine
96 Template Method
99 Intrusive Visitor
100 Reflective Visitor
101 Classic Visitor
103 Course Summary