Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Design Patterns in Java

via Udemy

Overview

Discover the modern implementation of design patterns in Java

What you'll learn:
  • Recognize and apply design patterns
  • Refactor existing designs to use design patterns
  • Reason about applicability and usability of design patterns

Course Overview

This course provides a comprehensive overview ofDesign Patterns in Javafrom a practical perspective. This course in particular covers patterns with the use of:

  • The latest versions of the Java programming language

  • Use of modern programming approaches:dependency injection, reactive programming and more

  • Use of modern developer tools such as IntelliJIDEA

  • 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 bookDesignPatterns:Elements of Reusable Object-Oriented SoftwarebyErich Gamma,John Vlissides, Ralph Johnson and Richard Helm(who are commonly known as a Gang of Four, hence the GoF acronym).

The original book was written using C++and Smalltalk as examples, but since then, design patterns have been adapted to every programming language imaginable:C#, Java, PHP and even programming languages that aren't strictly object-oriented, such as JavaScript.

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 CourseCover?

This course coversallthe GoF design patterns. In fact, here's the full list of what is covered:

  • SOLIDDesign Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle andDependency Inversion Principle

  • Creational Design Patterns:Builder, Factories (Factory Method and AbstractFactory), Prototype andSingleton

  • Structrural Design Patterns: Adapter, Bridge,Composite, Decorator, Façade,Flyweight andProxy

  • Behavioral Design Patterns: Chain of Responsibility,Command, Interpreter, Iterator, Mediator, Memento, Null Object, Observer, State, Strategy, TemplateMethod and Visitor

Who Is the Course For?

This course is for Javadevelopers who want to see not just textbook examples of design patterns, but also the different variations and tricks that can be applied to implement design patterns in a modern way. For example, the use of recursive generics helps us build fluent interfaces even when inheritance is involved.

Presentation Style

This course is presented as a (very large)series of live demonstrations being done in IntelliJIDEA and presented using theKinetica rendering engine.Kinetica removes the visual clutter of theIDE, 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 IntelliJ, Eclipse or anotherIDEof your choice.

This course does not use UMLclass diagrams; all of demos are live coding. I use IntelliJ and various Maven packages where necessary.

Taught by

Dmitri Nesteruk

Reviews

4.2 rating at Udemy based on 8583 ratings

Start your review of Design Patterns in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.