|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/design-patterns-in-java-concepts-hands-on-projects/
课程评论:没有评论
课程名称:Java 设计模式与 SOLID 设计原则 课程概述:该课程以 Java 中的 SOLID 设计原则为起点,然后深入介绍 Java 设计模式,并通过实践练习进行全面讲解。 什么是 SOLID 设计原则?SOLID 设计原则是每位 Java 开发人员几乎必备的技能,这些原则帮助您在项目中编写可重用且清晰的 Java 代码。您将学习以下 SOLID 原则: - 单一职责原则 - 开闭原则 - 里氏替换原则 - 接口隔离原则 - 依赖反转原则 这些原则将详细解释,您还将与讲师一起重构现有的 Java 代码,应用这些原则进行实践练习。 接下来,我们将深入学习 Java 设计模式。课程将讨论: - 每种设计模式解决的问题 - 使用 UML 图讨论设计模式中的各种角色 - 分析例子中设计模式的应用及其各部分的组合 - 使用 Eclipse IDE 进行基于 Java 的实践示例 - 针对每种设计模式的设计与实现注意事项 - 不同设计模式之间的异同 - 设计模式在现实生活中的应用 课程涵盖了《设计模式:可复用面向对象软件的基础》(通常称为“Gang of Four”著作)中的所有经典设计模式,并且还将讨论一些现代软件开发中使用的新设计模式。课程详细介绍了如何将模式以不同方式实现,并调整其以适应 Java 编程语言。 设计模式的定义及其重要性:设计模式是解决编程中常见问题的解决方案,这些解决方案可重用,能够解决广泛的问题。设计模式的概念在经典著作《Elements of Reusable Object-Oriented Software》的发布后变得流行。 课程内容涵盖: - SOLID 设计原则:单一职责、开闭、里氏替换、接口隔离和依赖反转原则 - 创建设计模式:简单工厂、抽象工厂、工厂方法、单例、建造者、原型和对象池 - 结构设计模式:对象适配器、类适配器、装饰者、桥接、外观、静态与动态代理、享元和组合 - 行为设计模式:责任链、命令、解释器、中介者、迭代器、备忘录、观察者、状态、策略、模板方法、访问者和空对象 每个设计模式通过跟随编码演讲进行实践实现。 课程结构:课程结合理论与现场编码进行讲授。每个设计模式通过现场编码环节展示实现,此外还使用 UML 和幻灯片进行讨论。 课程特色: - 提供所有现场讲座的代码示例,您可以下载进行学习 - 提供设计模式的 UML 图和角色描述的汇总 PDF - 包含代码示例和 UML 图的设计模式汇总 PDF 指南 适合对象:初级和经验丰富的开发者、软件设计师和架构师。
Course Overview This course starts with SOLID Design Principles in Java. It will then provide a comprehensive introduction to Java Design patterns with practical, hands on exercises. What are SOLID Design Principles?SOLID design principles are almost a mandatory skill for every Java developer. These principles enable you to write most reusable & clean Java code in your projects.You'll learn SOLID Principles which are:Single Responsibility PrincipleOpen-Closed PrincipleLiskov Substitution PrincipleInterface Segregation PrincipleDependency Inversion PrincipleAll these principles are explained in detail and you'll refactor existing Java code and apply these principles in hands on exercise along with me.Then we move on to Java Design Patterns.To learn about the design patterns using Java programming language we'll discuss: Learn what kind of problems are solved by each design pattern. Discuss various roles in the design pattern using UML diagrams. We'll use UML of example that we are going to solve as well as UMLs from gang of four book Discuss how the design pattern is applied in the example & how various parts fit together. Hands on example using Java in Eclipse IDE that uses the design pattern. Various design & implementation considerations for every design pattern. Discuss how the design pattern varies from another similar pattern. See where a design pattern is used in real life.This course covers all the classic design patterns from the Gang of Four (GoF) book. In addition we'll discuss few newer design patterns that are used in modern software development. We'll discuss how a pattern can be implemented in various ways & how we can tailor them to be used with Java language.This course is the Most Comprehensive course on Java Design Patterns that you can find.So, what are Design Patterns & why should you care? Design patterns represent solutions to common problems, which you face while doing programming. These solutions are reusable and can solve a wide variety of problems. These became popular with the release of classic book on the subject "Elements of Reusable Object-Oriented Software" writtern by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (these authors are known as Gang of Four and so the common abbreviation GoF book:) ) One problem while studying this book as a Java developer is that the authors are using C++ to demonstrate a pattern, which was the most popular & widely used programming language at the time. So you'll see examples using C++ language features like pointers, copy constructors etc. which do not translate easily to Java. This course will help greatly in that aspect. We'll study each design pattern using Java to its full potential.What is covered in this course? This course covers SOLID Design Principles and 26 design patterns in all. We'll cover following:SOLID Design Principles: Learn about Single Responsibility, Open-Closed, Liskov substitution, Interface segregation & Dependency Inversion principles.Creational Design Patterns: Simple Factory, Abstract Factory, Factory Method, Singleton, Builder, Prototype & Object PoolStructural Design Patterns: Object & Class Adapters, Decorator, Bridge, Facade, Static & Dynamic Proxy, Flyweight & Composite Behavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Mediator, Iterator, Memento, Observer, State, Strategy, Template Method, Visitor, & Null Object Each design patterns is also implemented in a follow along coding lecture.How the Course is Structured? We focus on live coding along with theory. Each design is implemented in a live coding session (which you can follow along) as well as discussed with UML & slides. After studing a section you'll know almost everything about the design pattern. This course is created with focus on being used as a reference. So each design pattern is discussed in it's own section with a separated lecture for each aspect of the design pattern. Each section is organized as following lectures: 1. Introduction - This lecture introduces pattern, a problem that it solves & a formal UML diagram 2. Implementation Steps - This lecture will discuss how you'll implement this pattern in Java. 3. Example UML - We discuss the UML of the hands on problem we're going to solve. 4. Implementation - In this lecture we'll implement the design pattern in Java using Eclipse IDE 5. Implementation & Design Considerations - Some important points about performance, variations & practical advice on using the pattern 6. Real World Example - In this lecture we'll see how the pattern is used in real life by Java's own class library & popular frameworks like Spring, JSF 7. Comparison with Similar pattern - See how the pattern is different than another similar pattern. 8. Pitfalls - Many pattern have some drawbacks. This lecture will show you what those are. 9. Summary - This lecture will summarise all the information about the pattern. As you can see, by breaking a single design pattern in smaller topics, you can easily watch only those parts that you need in future.What is provided with the Course? We have provided all code samples from the hands on lectures. You can download the starter code & follow along or you can download the finished code to study on your own. All UML diagram with description of each role in the design pattern is provided as PDF in summary video. These slides are enough to quickly revise design pattern structure.A PDF guide to all design pattern summaries with code samples and UML diagrams.Who should take this Course? Beginner as well as experience Developers. Software Designers & Architects.