Experience Design Patterns In Java

Learn to write better software by understanding common problems and applying design patterns for a better solution.
4.2 (231 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
4,995 students enrolled
$95
Take This Course
  • Lectures 57
  • Contents Video: 7.5 hours
    Other: 26 mins
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 4/2014 English

Course Description

Boost your software designs by taking this content-rich and hands on fully featured training course.

This course will give you insight in the more than 20+ design patterns from the book "Design Patterns: Elements of Reusable Object-Oriented Software", by Gamma, Helm, Johnson and Vlissides, which is considered the reference on the subject.

For each pattern a clear example is given to understand the problem the pattern will solve, as well as its advantages and disadvantages. You will be able to practically understand how the pattern works with the detailed included Java lessons.

At the end of this course, you will be able to

  • Identify common problems in your code
  • Apply the correct design pattern
  • Talk with colleagues using a common vocabulary (and be a hero)
  • Implement a better object oriented solution that is a lot more maintainable and readable

- All of the video lectures are download-enabled.
If you have a slow internet connection, or want to take this course with you on your laptop, smartphone or other portable device, sign up and download all the videos and other course materials now.

Sign up now to get lifetime access to this course. With Udemy's 30-day money-back guarantee, it's risk-free.

What are the requirements?

  • Knowledge of object oriented programming
  • Basic understanding of UML
  • Experience in Java for the practical sessions
  • An open mind

What am I going to get from this course?

  • Write better programs
  • Identify design problems
  • Learn the industry standard common vocabulary

What is the target audience?

  • Software engineers
  • Designers
  • Architects

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
14:35

What are design patterns and why should you care? In this introduction i'll give you an overview off all the things you need to know before starting this course.

Source code
Article
Section 2: Case Study: Building a 3D editor
17:09

In the case study we'll look at a real life scenario where we can apply several design patterns.

07:56

To build our 3D editor, we must define a correct document or data structure. In this practical Java session we'll go through the different options of defining that structure and how we can implementing it.

04:15

Let's look at the way we can render our images in the 3D editor, which are the main problems we must solve and how we can practically solve them using a strategy pattern. In this hands on session we will practically build our mini rendering program.

07:26

How can we efficiently capture user action in the 3D editor? In this session we'll create a system that implements the command pattern to capture user actions.

13:31

We face an issue when we want to deploy our 3D editor on multiple operating systems. In this session we'll implement a system that reduces the complexity of the extra platforms by using the Bridge pattern.

Section 3: Creational Design Patterns
02:11

In this lecture we'll discuss the focus points of the creational patterns and walk through the five patterns which are described in the "Gang of four: Elements of re-usable design" book.

04:45

In this lecture we'll describe the problem of a complex system that can benefit from the singleton pattern. We'll explain the theory behind the singleton pattern: when can we use it, what does it solve and the different options of implementing it.

09:29

How can you abstract a complex system? In this lecture we'll practically handle the case of a billing system and improve the overall design by using the singleton pattern.

08:57

Image you have an application which connects to three different databases. How can you avoid duplicating code when you want to query all three of them?

07:44

In this Java session we'll program the example given in the builder pattern theory. We'll create a fictional program that connects to three different databases. After this session the practical implication of the builder pattern will be clear.

05:48

In this lecture we'll discuss how the the factory method can delegate the object creation to other classes. We'll see how this pattern can improve our design when creating a re-usable framework.

05:56

With this hands on session we'll create a framework that relies on the factory method for object creation.

06:02

In the Abstract Factory lecture, a case is brought to support an application with multiple themes. By this illustration it'll be clear when you can use it and how it can improve the overall design.

07:23

How can we support an application that support multiple themes? In this lecture we'll build this framework in Java, illustrate some problems and fix it with the abstract factory pattern.

05:54

The prototype pattern creates objects by cloning others. What this exactly means will be explained in this lecture.

Prototype pattern using Java
10:31
4 questions

This quiz presents a number of design problems and to goal is to choose which creational pattern will solve them.

Section 4: Structural Design Patterns
03:48

In this lecture we'll discuss the focus points of the structural patterns and walk through the seven patterns which are described in the "Gang of four: Elements of re-usable design" book.

05:12

With the façade pattern we'll see how a complex system can be abstracted by using a façade. A complex financial system is given as an illustration to comprehend how the façade pattern can enlighten the overall design.

08:36

This session shows how easy it can be to use a façade pattern to hide a complex system. We will program a fictional financial system and use the façade pattern to abstract it.

06:14

Ever wanted to use a class from another framework, but were faced with incompatible interfaces? In this lecture we'll discuss this problem and how the adapter pattern provides an elegant solution.

04:31

In this practical session we'll do a little geometry. We'll program a rectangle adapter to be able to adapt from the old to the new geometry classes.

07:16

The decorator pattern works great when building user interface design. In this lecture we'll discuss an example when the decorator pattern really pays off. We'll also consider when to use this pattern and the main pros and cons.

10:13

In the hands on session of the decorator patten, we'll build a small GUI framework and improving it's design by using this pattern.

05:51

This lecture handles the bridge pattern. We'll discuss how the bridge pattern can improve the overall design based on loose coupling an interface from its implementation.

Bridge pattern using Java
08:26
05:43

Sometimes it's necessary for a client to uniformly treat tree objects. This lectures covers how the composite pattern helps to solve this issue.

09:36

In this session we'll effectively build a tree based on graphic objects. We apply the composite pattern so clients can simplify their code.

04:52

In this lecture we'll discuss the case where we want to dynamically load images of an application. We go through the various points where the proxy pattern comes in handy.

10:48

It's time to dynamically load images. This hands on session covers how the proxy pattern can be used to remain the overall code by adding dynamic behaviour to the application.

04:21

Ever having an issue where your application is slow because it uses too much memory for thousand of objects? The flyweight pattern allows you to reuse these objects and gain a drastic performance improvement.

07:41

In this hands on session, we'll build a small word process to illustrate how the flyweight pattern really improves the overall memory performance of an application.

Section 5: Behavioral Design Patterns
03:22

In this lecture we'll discuss the focus points of the behavioral patterns and walk through the eleven patterns which are described in the "Gang of four: Elements of re-usable design" book.

05:53

This lecture illustrates how the command pattern really captures user or system actions. When should we apply this pattern and what are the pros and cons, it can all be found in this session.

Command pattern using Java
13:47
05:58

By using the strategy pattern we can encapsulate an algorithm in an object. We'll discuss a sample chess application that that benefits from applying the strategy pattern.

10:56

It's time to implement the strategy pattern in a fictional chess application.

Visitor pattern
11:23
Visitor pattern using Java
13:09
Observer pattern
06:28
Observer pattern using Java
07:16
Memento pattern
07:07
Memento pattern using Java
14:09
Mediator pattern
06:32
Mediator pattern using Java
12:19
Chain of responsibility pattern
04:59
Chain of responsibility pattern using Java
07:38
State pattern
06:32
State pattern using Java
18:54
Template method pattern
04:13
Template method pattern using Java
05:04
Section 6: Additional Patterns
10:19

In this chapter we're going to discuss the inversion of control pattern. We'll start with a problem statement and move our way to the patten details.

Inversion Of control pattern using Java
07:47
06:01

What is a Transfer object? When is it interesting to use one? Learn all about it in this chapter.

Data transfer object using Java
06:37
Section 7: Additional Materials
Patterns Overview
26 pages

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Stijn De Mulder, Software Architect Trainer

My professional career started ten years ago when I graduated from the university of Ghent (Belgium) with a masters degree in computer science. During my eduction I've always had a strong focus on software development.

Thus I started working as a technical consultant and gained experience as a software engineer in several large scale applications. My technical expertise was greatly appreciated. Part of my job description became guiding and training others where needed.

After a set of successful projects, I've received the opportunity to become a solution architect. With this change I've become more focused on how systems work together to fulfil a set of functionality instead of designing for one system in particular.

Teaching and supporting others in doing their job has always been a big part of my life. Therefore I possess the necessary skills to help others learn and focus on what's important.

Get the latest news @ElqooHome

Ready to start learning?
Take This Course