Design Patterns in JavaScript

所在平台: Udemy

课程主页: https://www.udemy.com/course/design-patterns-javascript/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:JavaScript中的设计模式 课程概述: 本课程从实际角度对JavaScript中的设计模式进行全面概述,涵盖了以下内容: - 最新版本的JavaScript编程语言 - 现代编程库和框架的使用 - 现代开发工具(如JetBrains WebStorm)的使用 - 对模式变体和替代方法的讨论 课程内容包括“设计模式四人帮”(Gang of Four,GoF)设计模式的概述,结合现代变体、调整以及语言中模式的内在使用讨论。 设计模式是什么? 设计模式是解决常见编程问题的可重用解决方案。它们在1994年由Erich Gamma、John Vlissides、Ralph Johnson和Richard Helm合著的书籍《设计模式:可复用面向对象软件的元素》中被广泛传播。虽然原书使用C++和Smalltalk作为示例,但设计模式现已适用于几乎所有编程语言:C#、Java、Swift、Python,以及现在的JavaScript。设计模式的魅力持久不衰,我们在库中看到它们,有些模式在编程语言中是内在的,甚至可能在日常编程中不自觉地使用。 课程涵盖的模式: 本课程涵盖所有GoF设计模式,具体如下: - SOLID设计原则:单一责任原则、开放-关闭原则、里氏替换原则、接口隔离原则和依赖反转原则 - 创建型设计模式:生成器、工厂(工厂方法和抽象工厂)、原型和单例 - 结构型设计模式:适配器、桥接、组合、装饰、外观、享元和代理 - 行为型设计模式:责任链、命令、解释器、迭代器、中介者、备忘录、观察者、状态、策略、模板方法和访问者 适合对象: 本课程适合希望看到不仅仅是教科书示例的JavaScript开发者,了解不同变体和实现设计模式的现代方法。例如,使用Symbol.iterator使对象(包括迭代对象)可迭代,并让标量对象伪装成集合。 授课形式: 本课程以大量的现场演示为主,使用JetBrains WebStorm进行演示,并通过Kinetica渲染引擎进行展示。Kinetica消除了IDE的视觉杂乱,让你专注于代码,代码在大屏幕和手机上都能完美呈现。大多数演示为单文件,你可以下载与课程相关的文件,在WebStorm、Atom或其它IDE中运行,或者直接在命令行中运行。课程中不使用UML类图,所有演示均通过现场编码完成。

课程评论(0条)

课程详情

Course OverviewThis course provides a comprehensive overview of Design Patterns in JavaScript from a practical perspective. This course in particular covers patterns with the use of:The latest versions of the JavaScript programming languageUse of modern programming libraries and frameworksUse of modern developer tools such as JetBrains WebStormDiscussions of pattern variations and alternative approachesThis 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 original book GoF book used C++ and Smalltalk for its examples, but, since then, design patterns have been adapted to every programming language imaginable: C#, Java, Swift, Python and now - 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 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 PrincipleCreational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and SingletonStructrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and ProxyBehavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method and VisitorWho Is the Course For?This course is for JavaScript developers 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 Symbol.iterator allows objects (including iterator objects) to be iterable and lets scalar objects masquerade as if they were collections.Presentation StyleThis 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.

课程标签

0人关注该课程

主题相关的课程