ZChen

Fake it until you make it


  • Home

  • Categories

  • Tags

  • Archives

  • About

  • Search

Angular 实战系列 - Part 3: 抓取和展示数据

2019-01-08 18:55
Posted on 2019-01-08 18:55 | Post modified: 2019-03-04 16:17 | In Angular , Angular实战系列
Words count in article: 4,509 | Reading time ≈ 21 mins

在本系列的第 2 部分我们已经介绍身份认证,授权,功能规划以及数据建模。

接下来本系列的第 3 部分将介绍如何通过 Node API 从 MongoDB 检索数据以及通过 Angular 在前段显示和过滤数据:

  1. API:获取 Events 数据
Read more »

Angular 实战系列 - Part 2: 身份验证和数据建模

2019-01-04 14:55
Posted on 2019-01-04 14:55 | Post modified: 2019-02-26 17:26 | In Angular , Angular实战系列
Words count in article: 4,594 | Reading time ≈ 20 mins

在本系列的第 1 部分我们已经介绍了如何配置云托管的 MongoDB, Node 服务器,还有 Angular 前端项目。

接下来本系列的第 2 部分将介绍身份验证、授权、功能模块规划和数据建模:

  1. Angular:身份验证
  2. 角色授权
Read more »

Angular 实战系列 - Part 1: MEAN 配置 & Angular 架构

2019-01-02 20:55
Posted on 2019-01-02 20:55 | Post modified: 2019-02-26 16:44 | In Angular , Angular实战系列
Words count in article: 4,248 | Reading time ≈ 19 mins

本系列教程的第一部分将介绍如何为实际的 Angular 应用程序设置云托管的 MongoDB 数据库、Node 服务器和前端。

  1. 介绍:我们打算做什么?
  2. 配置 Angular 应用
  3. 配置托管的 MongoDB
  4. Auth0 的配置
  5. Node.js 服务器设置
  6. Angular: 创建 HomeComponent
  7. Angular: 布局和全局组件
Read more »

Angular实战系列文章汇总页

2019-01-02 17:55
Posted on 2019-01-02 17:55 | Post modified: 2019-02-25 11:57 | In Angular , Angular实战系列
Words count in article: 187 | Reading time ≈ 1 mins

Angular 实战系列将会带领你构建和部署一个完整的 JavaScript 应用程序,基于托管的MongoDB,Express,Angular以及Node.js技术栈(MEAN).

GitHub源码:mean-rsvp GitHub repo

系列索引

Read more »

Angular 7 (formerly Angular 2) - The Complete Guide | Part 4

2018-11-26 20:12
Posted on 2018-11-26 20:12 | Post modified: 2020-01-02 18:33 | In Angular 2
Words count in article: 24 | Reading time ≈ 1 mins
Routingsetting up and loading routesnavigationrouter linksprogrammaticlly styling active router linksPassing and Retrieving parametersRoute Observables Query Parameters and Fragments
Read more »

Angular 7 (formerly Angular 2) - The Complete Guide | Part 3

2018-11-20 17:24
Posted on 2018-11-20 17:24 | Post modified: 2018-11-26 20:30 | In Angular 2
Words count in article: 457 | Reading time ≈ 3 mins

Using Services & Dependency Injection

Service Creation

logging.service.ts
1
2
3
4
5
export class LoggingService {
logStatusChange(status: string) {
console.log('new status:' + status);
}
}
Read more »

Angular 7 (formerly Angular 2) - The Complete Guide | Part 2

2018-11-07 20:18
Posted on 2018-11-07 20:18 | Post modified: 2018-11-19 19:33 | In Angular 2
Words count in article: 1,049 | Reading time ≈ 7 mins

Components & Databinding Deep Dive

Usually we splitting Apps into Components. so how does component communicate with each other?

Property Binding

Generally all properties or components are only accessible inside these components not from outside. But you can expose property to the world by adding @Input decorator, so that any parent component is now able to pass data to our exposed properties downstream.

Read more »

Angular 7 (formerly Angular 2) - The Complete Guide | Part 1

2018-10-31 16:35
Posted on 2018-10-31 16:35 | Post modified: 2018-11-07 11:44 | In Angular 2
Words count in article: 560 | Reading time ≈ 3 mins

Component Selector

1
2
3
4
5
6
7
8
9
10
# component selector
## element
'app-demo'
usage: <app-demo></app-demo>
## attribute
'[app-demo]'
usage: <div app-demo></div>
## class
'.app-demo'
usage: <div class='app-demo'></div>
Read more »

Angular Library系列 - 使用CLI创建自己的库

2018-09-06 14:04
Posted on 2018-09-06 14:04 | Post modified: 2018-09-07 18:45 | In Angular , Library
Words count in article: 2,239 | Reading time ≈ 9 mins

随着Angular 6的发布, Angular CLI在一定程度上可以说是有了很大的提升。Angular CLI集成ng-packagr构建生成 Angular 库就是其中之一。ng-packagr 是由 David Herges 创建的一个很棒的工具,用于将你的库代码转换成官方约定的Angular 包格式。

接下来的内容中,你将体验创建一个自己的 Angular 库的具体过程。并且,为了避免陷入不必要的麻烦,创建的过程中我会着重强调一些实用的规则。

相应的GitHub 代码

介绍

通过ng new Angular CLI 为我们创建了一个新的工作区(workspace).

Read more »

谷歌云搭建免费VPN

2018-08-30 20:06
Posted on 2018-08-30 20:06 | Post modified: 2018-08-31 19:28 | In 工具
Words count in article: 1,493 | Reading time ≈ 6 mins

仅供技术学习探索,请合理科学上网,遵纪守法。

# 前面

Google Cloud Platform 是 Google 提供的云端服务,目前提供 365 天免费的 300 美金优惠试用,并且超过 365 天或者赠金已消费完,没有你的允许它也不会继续扣款,以下是我在上面搭建个人 VPN 的过程,欢迎参考:D

整体大概流程:申请免费谷歌云服务 => 创建虚拟实例 => 在实例搭建SSR或L2TP/IPsecVPN 服务

# 申请谷歌云服务

Read more »
123…5
ZChen

ZChen

46 posts
33 categories
67 tags
GitHub E-Mail
Creative Commons
© 2017 — 2020 suchenrain
世界美好,你也是。
0%