2021年1月25日
摘要: 1. 摘要 2. NgModule举例、说明 3. Angular CLI生成模块 4. 延迟加载模块 5. 总结 环境: Angular CLI: 11.0.6 Angular: 11.0.7 Node: 12.18.3 npm : 6.14.6 IDE: Visual Studio Code 1 阅读全文
posted @ 2021-01-25 10:17 Jack Niu 阅读(756) 评论(0) 推荐(0) 编辑
  2021年1月13日
摘要: 1. 摘要 2. 组件与指令之间的关系 2.1. 指令的种类 3. Angular 中指令的用途 4. 指令举例 4.1. 指令功能 4.2. Anuglar CLI生成基本文件 4.3. Directive指令核心代码 4.4. 使用该指令 5. 总结 环境: Angular CLI: 11.0. 阅读全文
posted @ 2021-01-13 15:33 Jack Niu 阅读(687) 评论(0) 推荐(0) 编辑
  2021年1月12日
摘要: 1. 摘要 2. 生命周期及顺序 3. 响应生命周期事件 4. 主要生命周期事件 4.1. 初始化事件 ngOnInit() 4.2. 实例销毁 ngOnDestroy() 5. 总结 环境: Angular CLI: 11.0.6 Angular: 11.0.7 Node: 12.18.3 npm 阅读全文
posted @ 2021-01-12 16:34 Jack Niu 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1. 摘要 2. 父传子 @Input() 2.1. 子组件定义@Input() 2.2. 父组件传递变量给子组件 3. 子传父 @Output() 3.1. 子组件定义@Output 3.2. 父组件订阅事件 4. 总结 环境: Angular CLI: 11.0.6 Angular: 11.0. 阅读全文
posted @ 2021-01-12 15:26 Jack Niu 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 1. 概述 2. 创建Component 2.1. 组件模板 3. 视图封装模式 3.1. 特殊的选择器 :host 3.2. inline-styles 4. 总结 环境: Angular CLI: 11.0.6 Angular: 11.0.7 Node: 12.18.3 npm : 6.14.6 阅读全文
posted @ 2021-01-12 14:25 Jack Niu 阅读(1184) 评论(0) 推荐(2) 编辑
  2021年1月11日
摘要: 1. 摘要 2. https://update.angular.io/ 3. 总结 环境: Angular CLI: 11.0.6 Angular: 11.0.7 Node: 12.18.3 npm : 6.14.6 IDE: Visual Studio Code 1. 摘要 近些年Web技术飞速发 阅读全文
posted @ 2021-01-11 16:51 Jack Niu 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 1. 第三方UI库的选择 2. Angular Material 2.1. 优缺点 2.1.1. 优点 2.1.2. 缺点 2.2. 引入到项目 3. 总结 环境: Angular CLI: 11.0.6 Angular: 11.0.7 Node: 12.18.3 npm : 6.14.6 IDE: 阅读全文
posted @ 2021-01-11 15:35 Jack Niu 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 1. 本地开发环境搭建 1.1. node.js 1.2. Angular CLI 2. 开发工具 - Visual Studio Code 第一个Anuglar项目 创建第一个anuglar项目 Angular CLI常用命令 在线实战项目 新手项目:Basic Angular app 入门项目: 阅读全文
posted @ 2021-01-11 10:06 Jack Niu 阅读(864) 评论(1) 推荐(0) 编辑
  2021年1月9日
摘要: (Based on Angular 10) 0. Angular-CLI Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular 阅读全文
posted @ 2021-01-09 22:06 Jack Niu 阅读(456) 评论(0) 推荐(0) 编辑
  2021年1月8日
摘要: 1. 概述 2. 框架比较 3. 为什么国内Angular不是很流行 1. 概述 总的来说一句话,如果你是老大,你可以选择用什么;如果你不是,那么,老大让用什么,你就用什么。 前端框架Angular,Vue,React三选一,没有第四种。 (当然,如果只是一两个简单的页面,纯JS、jquery足够了 阅读全文
posted @ 2021-01-08 15:46 Jack Niu 阅读(488) 评论(1) 推荐(1) 编辑
摘要: 1. Angular (Angular2)v.s. AngularJS 2. 检查本地环境的版本 3. TypeScript 4. Angular CLI 5. Angular 的版本 6. Angular 版本如何升级 7. 依赖注入(dependency injection) 8. 编译-AOT 阅读全文
posted @ 2021-01-08 15:02 Jack Niu 阅读(660) 评论(0) 推荐(1) 编辑
  2021年1月7日
摘要: 1. 需求 一个angular web站点,通过一个iframe嵌套在另一个web站点中。点击一个按钮,希望能够在一个新的页面(Tab)中打开另外一个页面。 2. 方案 主要困难在于处理2个站点的地址不同的问题。既可以通过 html 设置href实现,又可以直接使用js代码实现。 Code: <a 阅读全文
posted @ 2021-01-07 21:38 Jack Niu 阅读(329) 评论(0) 推荐(0) 编辑
  2020年12月30日
摘要: 1. 简单实现无服务器情况下,2个GIT客户端的同步 1. 简单实现无服务器情况下,2个GIT客户端的同步 1.1. 需求 1.2. 方案 1.1. 需求 有时候不希望经过server,实现2个客户端设备的代码同步 Server连不上,2个客户端设备急需代码同步 1.2. 方案 git versio 阅读全文
posted @ 2020-12-30 14:41 Jack Niu 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1. Filter简介 1.1. SpringBoot 中Filter的作用 1.2. @WebFilter 2. 基于@WebFilter的实现 2.1. SpringbootApplication方法上加上启动扫描 2.2. 新建Filter 2.3. 关于WebFilter 3. 总结 1. 阅读全文
posted @ 2020-12-30 09:19 Jack Niu 阅读(608) 评论(0) 推荐(0) 编辑
  2020年11月3日
摘要: ejabberd Openfire homepage https://www.ejabberd.im/ http://www.igniterealtime.org/projects/openfire/ license GPLv2 Apache github 2060 stars https://gi 阅读全文
posted @ 2020-11-03 10:22 Jack Niu 阅读(71) 评论(0) 推荐(0) 编辑
  2015年11月17日
摘要: ejabberd Openfire homepage https://www.ejabberd.im/ http://www.igniterealtime.org/projects/openfire/ license GPLv2 Apache gith... 阅读全文
posted @ 2015-11-17 15:17 Jack Niu 阅读(1270) 评论(0) 推荐(0) 编辑
  2013年5月30日
摘要: AngularJS Pros -Uses primitive javascript types instead of function wrappers (“dirty checking”)-Loaded with functionality-Easy to get started-Fast development and smaller amounts of boiler-plate code ... 阅读全文
posted @ 2013-05-30 10:28 Jack Niu 阅读(3393) 评论(0) 推荐(0) 编辑
  2013年5月29日
摘要: AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinct... 阅读全文
posted @ 2013-05-29 13:55 Jack Niu 阅读(500) 评论(0) 推荐(0) 编辑
  2013年5月27日
摘要: Bootstrap Paginator is a jQuery plugin that simplifies the rendering of Bootstrap Pagination component. It provides methods to automates the update of the pagination status and also some events to not... 阅读全文
posted @ 2013-05-27 11:21 Jack Niu 阅读(2332) 评论(0) 推荐(0) 编辑
  2013年5月21日
摘要: 1. through css #footer { position:fixed; left:0px; bottom:0px; height:30px; width:100%; background:#999; } 2. jQuery Easy Pinned Footer http://jack-fx.com/net/2013/05/21/sticky-footer... 阅读全文
posted @ 2013-05-21 13:27 Jack Niu 阅读(417) 评论(0) 推荐(0) 编辑

Affiliate Marketing and Web Technology