Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Angular
Search
Mariano Alvarez
September 20, 2019
Programming
46
2
Share
Intro to Angular
Learn the basic of Angular
Mariano Alvarez
September 20, 2019
More Decks by Mariano Alvarez
See All by Mariano Alvarez
Vainilla Redux
mahcr
0
70
Web Workers
mahcr
0
37
PWA: Web app con super poderes
mahcr
0
63
Redux - NgRx v8
mahcr
0
85
AMP ¿Como iniciar?
mahcr
0
54
Volando_con_el_Assistant.pdf
mahcr
0
130
Angular_Elements.pdf
mahcr
0
100
Angular Elements
mahcr
0
57
The beauty of NgRx
mahcr
0
69
Other Decks in Programming
See All in Programming
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
5
630
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
110
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
310
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
410
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
1
970
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
6
610
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
2.3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
290
AIエージェントの隔離技術の徹底比較
kawayu
0
430
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
120
OSもどきOS
arkw
0
130
関係性から理解する"同一性"の型用語たち
pvcresin
2
520
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Building an army of robots
kneath
306
46k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
250
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
140
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
220
So, you think you're a good person
axbom
PRO
2
2k
Are puppies a ranking factor?
jonoalderson
1
3.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
830
Transcript
Angular Intro to
@malvarezcr Me! Web Practice Lead Co-Organizador de Angular Costa Rica
Fan de JS, TS, NG, Web Techs, Pizza, Emojis Mariano Álvarez
Basics
@malvarezcr What is a framework? ⛓ Patterns Tools Standardization Testing
@malvarezcr Should I use one? ….. depende….
@malvarezcr What is Angular?
@malvarezcr History 2010 2016
@malvarezcr What is Typescript? “TypeScript is an open-source programming language
developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language.”
@malvarezcr What is Typescript? Benefits: • Scalability • Superset of
JS • Imports • ES-next compliance • Type-Checking • Annotations
@malvarezcr What is Typescript?
@malvarezcr What is Typescript?
@malvarezcr What is RxJS? “Reactive programming is an asynchronous programming
paradigm concerned with data streams and the propagation of change.”
@malvarezcr What is RxJS?
@malvarezcr What is RxJS? “Operators are functions that build on
the observables foundation to enable sophisticated manipulation of collections” Operators
@malvarezcr What is RxJS? Operators
@malvarezcr What is RxJS? Operators
@malvarezcr Dependency Injection “Dependencies are services or objects that a
class needs to perform its function. DI is a coding pattern in which a class asks for dependencies from external sources rather than creating them itself.”
@malvarezcr Dependency Injection Taken from https://www.freecodecamp.org/news/a-quick-intro-to-dependency-injection-what-it-is-and-when-to-use-it-7578c84fa88f/
@malvarezcr Dependency Injection @Injectable()
@malvarezcr Dependency Injection @NgModule()
@malvarezcr Dependency Injection @Component()
@malvarezcr Components “A component is a part or element of
a larger whole” E.g A part of a machine or vehicle
@malvarezcr Components
@malvarezcr Components Data flow
@malvarezcr Components Example
@malvarezcr Components Interpolation
@malvarezcr Directives • Structural Directives • Attribute Directives Two Types
@malvarezcr Structural Directives • *ngIf • *ngFor • *ngSwitch •
Custom Structural directives are responsible for HTML layout.
@malvarezcr Attribute Directives An Attribute directive changes the appearance or
behavior of a DOM element.
@malvarezcr Modules NgModules “NgModules are containers for a cohesive block
of code dedicated to an application domain, a workflow, or a closely related set of capabilities.”
@malvarezcr Modules NgModules
@malvarezcr Modules “Operators are functions that build on the observables
foundation to enable sophisticated manipulation of collections” @NgModules
@malvarezcr Tools CLI Augury Language Service …. and more
None
Exercise
⚡Conclusión
Angular Costa Rica • Facebook, YouTube, Medium @angularcostarica • Twitter
@angularcr