|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/angular-advanced-masterclass/
课程评论:没有评论
课程名称:Angular 高级大师班及免费电子书 课程概述:您想构建自己的开源库吗?大多数开发者在某个时刻都想过构建自己的库,并为开源社区做出贡献。本课程的目标是为您提供创建开源 Angular 库所需的所有工具。我们将逐步构建一系列难度逐渐增加的小型开源库,并以有趣和实用的方式学习大量 Angular 高级功能。 学习高级 Angular 特性的最佳方法是什么?最佳的学习方式是通过实际构建具体的应用程序或库,并以逐步的方式进行,因为这一经历是无可替代的。为了深入理解一项技术,我们需要用它构建非琐碎的东西,阅读博客或文档只能解决部分问题。因此,我们将使用 Angular 构建一系列小的可重用库,以实践场景学习Angular的高级特性。 课程中我们将构建哪些库?我们将构建多个库,并学习如何使用 Angular 包格式在 NPM 上发布它们。首先,我们将创建一个可自定义的 Font Awesome 输入框,并了解使用内容投影设计组件的优势;接着,我们将设计一个动态标签容器,支持接收组件输入的模板;再之后,我们会开发一个可复用的动态模态组件,以及一个输入掩码指令,讨论高级键盘处理行为。最后,我们将整合之前构建的组件,创建一个支付模态小部件,并引入 Angular 动画模块为其增加动画效果。 您将在本课程中学到什么?您将掌握如何创建 AOT 兼容的 Angular 库,定义库模块,隔离组件样式及其自定义,设计易维护的组件和指令等。课程还将涵盖 Angular 的众多高级特性,包括组件 API 设计、样式最佳实践、模板和模板出口、动态组件、事件处理、测试、动画等。 完成本课程后,您将能够了解众多高级 Angular 特性,并知晓何时及为何使用它们。您将能够创建开源的 Angular 库,并学习如何在 NPM 上将它们发布给开源社区。这个高级课程将为您打下坚实的 Angular 基础,让您更好地应对日常工作或个人项目中的高级开发任务。请查看课程的免费课程内容,并尽情享受课程!
Would You Like to Build Your Own Open Source Library?Probably all of us developers have thought at some point in time to build our own library and contribute to the overall open source community. The goal of this course is to give you all the tools necessary for you to be able to do your own open source Angular Library.We will build a series of small open source libraries of progressively increasing difficulty, and we will learn a large number of Angular advanced features in a very fun and practical way.What Is The Best Way To Learn Advanced Angular Features?The best way to learn Angular and its most advanced features is to simply take and use it to build something very concrete, like for example an application or a library - and do it in a step-by-step way, as there is no replacement for that experience.In order to understand a technology, we really need to build something non-trivial with it - blog posts and docs will only get us so far.This is of course very time-consuming to do without any help because we will have to learn everything by ourselves along the way as we build something, gluing together an endless number of blog posts, documentation and Stackoverflow answers.So because of this, in order to really dive deep into Angular we will be using it to build a series of small reusable libraries. The goal is to create a practice scenario, and learn the advanced features of Angular in their original use cases, where they make the most sense and so are easier to learn.What Libraries Will We Build In This Course?We will be building the following libraries, and learn how to publish them on NPM using the Angular Package Format: We will start by doing a Font Awesome customizable Input Box and learn the advantages of designing our components using content projection over a more input/output based design. At this stage we will also introduce the Angular Testing ecosystem.Then we will progressively increase the difficulty of each library: we will build a dynamic tab container that allows to receive a template as a component input, effectively allowing to override parts of the component template while keeping a default look and feel for the component.We will then build a reusable dynamic modal component with customizable content. This component have its contents configurable via either content projection or an input template, and will introduce the notion of Structural Directives.We will also learn how directives and components of a given module can interact in a transparent way, independently of the place where they are used in the template, using a shared library service. We will then build a Input mask directive, where we will cover some advanced keyboard handling behavior.At the end of the course, we are going to take all the components and directives that we built in previous sections, and we are going to build one larger example using them: A Payment Modal Widget!We will then introduce the Angular Animations module, and use it to animate the modal widget, we will see how to define animations that can be reused across components.What Will you Learn In this Course?We will learn how to create an AOT compatible library in the Angular Package Format, how to define a library module, how to isolate the styles of a component but still make them customizable, how to design components and directives to make them easier to maintain - making them customizable while at the same time giving the components great default behavior.We will cover all of the more advanced features of Angular, including Component API Design, Component Styling best practices, Templates and Template Outlets, ng-content, ng-container, style isolation and customization, AOT, global events, debugging with the CLI, @ViewChildren, @ContentChildren, Light DOM vs Shadow DOM, @HostBinding, @HostListener, dynamic components, directives, handling keyboard events, testing, animations and more (this is a non-extensive list).But more than presenting the features in isolation, we will use them in real use cases which will make the features much easier to learn.What Will You Be Able to do at the End Of This Course?By the end of this course you will know many of the most advanced features of Angular, but most of all you will know when to use them and why. You will know how to build open source Angular libraries, and know how to make them available to the open source community on NPM.With this advanced course, you will have a rock-solid foundation on Angular: you will very likely be able to tackle the more advanced Angular development tasks that you will come across in your day to day job or personal projects.Have a look at the course free lessons below, and please enjoy the course!