04 2023 档案

摘要:前言 以前就写过很多篇了 Asp.net core 学习笔记 ( Data protection ) Asp.net core 学习笔记 Secret 和 Data Protect Azure key-vault & Storage Account 第 2 篇 Azure 入门系列 (第五篇 Azu 阅读全文
posted @ 2023-04-30 12:50 兴杰 阅读(356) 评论(0) 推荐(0) 编辑
摘要:前言 以前就写过很多篇了 ASP.NET Core – Configuration & Options Asp.net core 学习笔记 ( Azure key-vault ) Asp.net core 学习笔记 Secret 和 Data Protect Azure key-vault & St 阅读全文
posted @ 2023-04-29 21:47 兴杰 阅读(203) 评论(0) 推荐(0) 编辑
摘要:前言 本篇主要讲解 Angular 的渲染引擎 Ivy 和 Change Detection 机制。 简单的说就是,我们开发时没有写一行 DOM manipalation 代码,那 Angular 底层是怎样把我们的代码变成最终的 DOM Manipulation 呢? 注:目前当红的 Signal 阅读全文
posted @ 2023-04-15 20:12 兴杰 阅读(1698) 评论(2) 推荐(0) 编辑
摘要:公告 2024-10-29: 本文写于 Angular v18.0.0,而即将推出的 Angualr v19 对 Signal 有一些 break changes,在 effect execution timing 的部分。 我会在 v19 正式发布后修改本篇部分的内容。 在这段期间,大家可以先读完 阅读全文
posted @ 2023-04-15 13:08 兴杰 阅读(3184) 评论(7) 推荐(3) 编辑
摘要:前言 之前在 Component 组件 の Angular Component vs Custom Elements 文章中,我们有学习过几个基础的 Lifecycle Hooks。 比如 OnChanges、OnInit、AfterViewInit、OnDestroy,但那篇只是微微带过而已。 这 阅读全文
posted @ 2023-04-14 21:27 兴杰 阅读(1084) 评论(0) 推荐(1) 编辑
摘要:前言 在 Get Started 那一篇,我们提到过 Angular Compilation。这篇稍微给点具体画面,让大家感受一下。 但不会讲细节,对细节感兴趣的可以看这篇 Medium – How the Angular Compiler Works。 Run ngc manually ng ne 阅读全文
posted @ 2023-04-13 20:53 兴杰 阅读(988) 评论(1) 推荐(0) 编辑
摘要:前言 在 Dependency Injection 依赖注入 文章中,我们学习了 50% 的 Angular DI 知识,由于当时还不具备组件知识,所以我们无法完成另外 50% 的学习。 经过了几篇组件教程后,现在我们已经具备了基础的组件知识,那这一篇我们便来完成 Angular DI 所有内容吧。 阅读全文
posted @ 2023-04-13 17:08 兴杰 阅读(961) 评论(1) 推荐(1) 编辑
摘要:前言 以前有写过一篇关于 canvas 处理图片的文章. 非常乱, 这篇做一个整理. 参考 Stack Overflow – HTML5 Canvas Rotate Image Stack Overflow – How to flip images horizontally with HTML5 c 阅读全文
posted @ 2023-04-09 12:45 兴杰 阅读(103) 评论(0) 推荐(0) 编辑
摘要:前言 以前得文章 Asp.net core 学习笔记 ( upload/download files 文件上传与下载 ), 这篇是修订版. Handle Upload File (处理上传文件) 我的例子是基于 Web API 和 Ajax 的. 前端 Ajax const btn = docume 阅读全文
posted @ 2023-04-08 23:11 兴杰 阅读(1633) 评论(0) 推荐(0) 编辑
摘要:请按顺序阅读 概念篇 Observable & Creation Operators Subject Observable to Subject (Hot, Cold, Warm, connectable, share) Filtering Operators Join Creation Opera 阅读全文
posted @ 2023-04-08 00:07 兴杰 阅读(422) 评论(0) 推荐(0) 编辑
摘要:前言 命名规范对项目维护是很重要的. Angular 对项目的渗透很大的, 必须做好命名规范, 不然会很乱. InjectionToken InjectionToken = UPPER_SNAKE_CARE const SERVICE_CONFIG = new InjectionToken('Ser 阅读全文
posted @ 2023-04-07 14:54 兴杰 阅读(117) 评论(0) 推荐(0) 编辑
摘要:前言 在上一篇 Angular Component vs Web Component 中,我们整体对比了 Angular Component 和 Web Component 的区别。 这一篇我们将针对 Custom Elements 的部分继续对比学习。 同样的,请先看我以前写的 DOM – Web 阅读全文
posted @ 2023-04-06 21:20 兴杰 阅读(841) 评论(0) 推荐(1) 编辑
摘要:前言 要掌握 Angular,最好先掌握原生。 全局 CSS 的问题,还有如何用原生 CSS 来管理全局 CSS,看这篇。 利用 Shadow Dom 来隔离 CSS 看这篇。 CSS Global Effect CSS style 是全局影响的。 假设我们有 2 个组件,AppComponent 阅读全文
posted @ 2023-04-06 21:16 兴杰 阅读(641) 评论(0) 推荐(0) 编辑
摘要:介绍 Pipe 类似于 Template Syntax,它的用途是 transform value for display。 参考: Docs – Understanding Pipes DatePipe 一个简单的例子。 我有一个 JavaScript 的 Date 对象,我要 display 给 阅读全文
posted @ 2023-04-06 16:52 兴杰 阅读(785) 评论(0) 推荐(0) 编辑
摘要:前言 这篇介绍一些基本的 Angular 模板语法。 参考 Docs – Understanding binding Render、Event Listening and DOM Manipulation Angular 作为一个 MVVM 框架,有两个任务是一定要处理好的 1. First Ren 阅读全文
posted @ 2023-04-06 16:45 兴杰 阅读(715) 评论(0) 推荐(0) 编辑
摘要:前言 这篇会列出我开发中常用的 command. 并给予一些简单的说明 Command Format 先了解一下几个简单的 command 格式: 缩写 shortform 这个是完整版 ng generate component my-component 这个是 shortform 版 ng g 阅读全文
posted @ 2023-04-04 14:22 兴杰 阅读(233) 评论(0) 推荐(0) 编辑
摘要:前言 前几篇介绍过了 Creation Operators Filtering Operators Join Creation Operators Error Handling Operators Transformation Operators Join Operators Utility Ope 阅读全文
posted @ 2023-04-03 21:52 兴杰 阅读(44) 评论(0) 推荐(0) 编辑
摘要:前言 前几篇介绍过了 Creation Operators Filtering Operators Join Creation Operators Error Handling Operators Transformation Operators Join Operators Utility Ope 阅读全文
posted @ 2023-04-03 21:49 兴杰 阅读(40) 评论(0) 推荐(0) 编辑
摘要:前言 前几篇介绍过了 Creation Operators Filtering Operators Join Creation Operators Error Handling Operators Transformation Operators Join Operators 这篇继续介绍 Util 阅读全文
posted @ 2023-04-03 17:09 兴杰 阅读(66) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示