SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
@jdpearce / #AisForAngular
#AisForAngular
by
Jo Hanna Pearce
(she/her)
A is for Angular. The reason we’re here!

There’s quite a lot to it, not all of it clear

What I’m going to attempt is poetic oration

Of Angular aspects that cause consternation

There’s so much to say and I haven’t much time

I’ve got 26 letters to get through in rhyme.
@jdpearce / #AisForAngular
Browser
B is for…
B is for Browser, for which we all build

There isn’t just one, we may need polyfills

We test different systems as much as we’re able 

So as not to exclude anyone from our table.
@jdpearce / #AisForAngular
Core, Common
C is for…
C is for Core where we find ContentChild

Compiler as well which each module provides

Common we need as the name might suggest

And ComponentFixture with which we write tests
@jdpearce / #AisForAngular
@Decorators
D is for…
D is for Decorators, what are they for?

They make classes and methods and properties do more!

How do we add such syntactical sweetness?

They’re just functions that bring some grammatical neatness!
@jdpearce / #AisForAngular
Elements
E is for…
E is for Elements. Exciting and new!

Portable Angular components for you!

Not only easier to load on the fly

But - standards compliant - they’re consumable by

The other big frameworks, even plain javascript

There’ll be fun getting future big projects to “shipped”!
@jdpearce / #AisForAngular
Forms
F is for…
F is for Formats and Factories and Forms.

Driven by templates or is reactive the norm?

This is one of those areas where preference feels muddled

And seems like it could leave developers troubled
@jdpearce / #AisForAngular
Guards
G is for…
Under G we find Guards and some methods that get

From protecting our Routes to LocaleDateFormat

The methods are more or less simple enough

But explaining the router and guards would be tough…

With the time rushing onward I won’t even try

If I have to use more sketchy rhymes I might cry.
@jdpearce / #AisForAngular
@Host
H is for…
H is for Http and our Host

Hypertext transport is something that most

Of the devs in this room will probably get

But you may not have used the Host decorator yet

It tells the injector just where it should cease

As it tries to acquire what it needs piece by piece
@jdpearce / #AisForAngular
Ivy (Renderer3)
I is for…
I is for Ivy. Or Renderer3

Simpler and faster and small as a flea

Or that’s the intention it’s not quite yet done

But it’s out there to try if you want to have fun
@jdpearce / #AisForAngular
JitCompilerFactory,
JSONPipe
J is for…
J brings us on to JitCompilerFactory

About which the docs are quite unsatisfactory

There’s JsonPipe too which I’m sure we’ve all used

But as it’s impure it should not be abused

It’s great for debugging, seeing under the skin

Of components we write and the properties within.
@jdpearce / #AisForAngular
KeyValues
K is for…
K is for KeyValues used in the map

For detecting the changes throughout our app

This has left many devs feeling hopelessly wrecked

As they look up ExpressionChangedAfterItHasBeenChecked
@jdpearce / #AisForAngular
Location
L is for…
L is Location, the way we might tell

The parts of our app from each URL

The strategy used changes how the address

Of our pages will look and whether the mess

With its readable straightforward slashes and slugs

Will instead of all that be just hashes and bugs
@jdpearce / #AisForAngular
MessageBus
M is for…
M is for Modules and Messages and Mocks

While module is one of the main building blocks

The MessageBus may not be something you’ve found

It sends data between the UI and background

While the web worker code isn’t ready just yet

It’s importance will grow in the future I bet…
@jdpearce / #AisForAngular
Ng*
N is for…
Navigation is next and the NO_ERRORS_SCHEMA

And of course all the classes beginning Ng*

Who’d have thought that the devs of a modern creation

Would succumb to the need for Hungarian notation?
@jdpearce / #AisForAngular
OnInit, OnDestroy…
O is for…
Onwards to O for OnInit, OnDestroy,

The decorators Optional and Output, oh joy!

There’s nothing that seems unfamiliar here

Just parts of the system we hold near and dear
@jdpearce / #AisForAngular
Plural
P is for…
P is for Plural a curious thing

If you look up the rules for outputting strings

For the locales your users might reasonably expect

The unicode CLDR has the specs.

I don’t recommend it for a light bedtime read

But for localisation it’s a doc you should heed.
@jdpearce / #AisForAngular
QueryList
Q is for…
Q is for querying all of the things.

We can query with types or query with strings

We can query the content, query the view

And be sure we’re updated of anything new!
@jdpearce / #AisForAngular
RxJS
R is for…
To observe all the things we need RxJS

And there’s more to this lib than some docs might suggest

If you’re struggling with state and try NgRx

You’ll learn more of its breadth and at first be perplexed

How you ever could limit yourself to subscriptions

That ended with only a single emission…
@jdpearce / #AisForAngular
Schematics
S is for…
With S we might like to consider Schematics

For workflow improvements they could be dramatic

But only if what we are hoping to gain

Is a better approach to the code we maintain

Pragmatically projects that stay fairly small

May not have a need for Schematics at all.
@jdpearce / #AisForAngular
TypeScript
T is for…
T is for TypeScript, not as hard as you thought

Although lately it seems there’s a war being fought

Between those of us pleased with their explicit typing

And others who seem to be constantly sniping

That javascript really was made to be free

And guessing what everything does is the key!
@jdpearce / #AisForAngular
UpgradeModule
U is for…
U brings the UpgradeModule into sight

And I honestly can’t recommend that you fight

With the hybridisation of Angular Apps,

Separate them by route, don’t fall into the traps

Of thinking that as this is something we could,

That means it is one of the things that we should.
@jdpearce / #AisForAngular
View*
V is for…
V brings us round to ViewChild and ViewChildren

ViewContainerRef and ViewEncapsulation

I really can’t fit into here what they do

But note the distinction between content and view

There’s a DOM for the things that we View on the screen

And another for Content that sets up the scenes
@jdpearce / #AisForAngular
WTF?
W is for…
W brings us to classes that look

As though they all start with the phrase “what the f…”

The intent here is not just to make you all smirk

WTF stands for Web Tracing Framework

If performance is key this may be what you’re using

But for everyone else we see code that’s amusing.
@jdpearce / #AisForAngular
XhrFactory
X is for…
X is for XhrFactory and well…

What else is there under this letter to tell?

They’ve wrapped XMLHttpRequest

It’s one of the things that allows us to test!
@jdpearce / #AisForAngular
You
Y is for…
Y is for You, all the people here seated

Who wrestle with code and remain undefeated

Community is something that makes us all better

(And frankly there’s nothing that starts with this letter)
@jdpearce / #AisForAngular
Zones
Z is for…
Z is for Zones, about which all I’ll say

Is I’m hoping we no longer need them one day.

And that little thought is the last thing I’ll mention

I’m grateful you’ve lasted the course, paid attention

I’ve rushed through a lot in a very short time,

And I think now I’ve used all my Angular rhymes!
@jdpearce / #AisForAngular
TH NK YOU.TH NK YOU.

Weitere ähnliche Inhalte

Ähnlich wie A is for Angular

Scottish Ruby Conference 2014
Scottish Ruby Conference  2014Scottish Ruby Conference  2014
Scottish Ruby Conference 2014michaelag1971
 
Low maintenance perl notes
Low maintenance perl notesLow maintenance perl notes
Low maintenance perl notesPerrin Harkins
 
C# .NET - Um overview da linguagem
C# .NET - Um overview da linguagem C# .NET - Um overview da linguagem
C# .NET - Um overview da linguagem Claudson Oliveira
 
the-10-rest-commandments.pdf
the-10-rest-commandments.pdfthe-10-rest-commandments.pdf
the-10-rest-commandments.pdfDavorKolenc1
 
How to tell a better story (in code)(final)
How to tell a better story (in code)(final)How to tell a better story (in code)(final)
How to tell a better story (in code)(final)Bonnie Pan
 
What does OOP stand for?
What does OOP stand for?What does OOP stand for?
What does OOP stand for?Colin Riley
 
Inheritance Versus Roles - The In-Depth Version
Inheritance Versus Roles - The In-Depth VersionInheritance Versus Roles - The In-Depth Version
Inheritance Versus Roles - The In-Depth VersionCurtis Poe
 
Atlassian: The latest and greatest - May/June 2013
Atlassian: The latest and greatest - May/June 2013Atlassian: The latest and greatest - May/June 2013
Atlassian: The latest and greatest - May/June 2013Sven Peters
 
Daniel Steigerwald: WYSIWYG je šik! (když funguje)
Daniel Steigerwald: WYSIWYG je šik! (když funguje)Daniel Steigerwald: WYSIWYG je šik! (když funguje)
Daniel Steigerwald: WYSIWYG je šik! (když funguje)Develcz
 
Brief Introduction to Spectacular
Brief Introduction to SpectacularBrief Introduction to Spectacular
Brief Introduction to SpectacularMichael Dowling
 
What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#Kevin Hazzard
 
Wipro-TechnicalRound&HRInterviewQuestions (1).doc
Wipro-TechnicalRound&HRInterviewQuestions (1).docWipro-TechnicalRound&HRInterviewQuestions (1).doc
Wipro-TechnicalRound&HRInterviewQuestions (1).docAyushVerma584677
 
PHP App Performance / Sydney PHP
PHP App Performance / Sydney PHPPHP App Performance / Sydney PHP
PHP App Performance / Sydney PHPHarald Zeitlhofer
 
E4IT STARTER - MODULE 12.pdf
E4IT STARTER - MODULE 12.pdfE4IT STARTER - MODULE 12.pdf
E4IT STARTER - MODULE 12.pdfAnna Gandrabura
 

Ähnlich wie A is for Angular (20)

Scottish Ruby Conference 2014
Scottish Ruby Conference  2014Scottish Ruby Conference  2014
Scottish Ruby Conference 2014
 
Low maintenance perl notes
Low maintenance perl notesLow maintenance perl notes
Low maintenance perl notes
 
ACM Init() lesson 1
ACM Init() lesson 1ACM Init() lesson 1
ACM Init() lesson 1
 
C# .NET - Um overview da linguagem
C# .NET - Um overview da linguagem C# .NET - Um overview da linguagem
C# .NET - Um overview da linguagem
 
the-10-rest-commandments.pdf
the-10-rest-commandments.pdfthe-10-rest-commandments.pdf
the-10-rest-commandments.pdf
 
Groovy And Grails
Groovy And GrailsGroovy And Grails
Groovy And Grails
 
How to tell a better story (in code)(final)
How to tell a better story (in code)(final)How to tell a better story (in code)(final)
How to tell a better story (in code)(final)
 
What does OOP stand for?
What does OOP stand for?What does OOP stand for?
What does OOP stand for?
 
Inheritance Versus Roles - The In-Depth Version
Inheritance Versus Roles - The In-Depth VersionInheritance Versus Roles - The In-Depth Version
Inheritance Versus Roles - The In-Depth Version
 
Atlassian: The latest and greatest - May/June 2013
Atlassian: The latest and greatest - May/June 2013Atlassian: The latest and greatest - May/June 2013
Atlassian: The latest and greatest - May/June 2013
 
Daniel Steigerwald: WYSIWYG je šik! (když funguje)
Daniel Steigerwald: WYSIWYG je šik! (když funguje)Daniel Steigerwald: WYSIWYG je šik! (když funguje)
Daniel Steigerwald: WYSIWYG je šik! (když funguje)
 
Brief Introduction to Spectacular
Brief Introduction to SpectacularBrief Introduction to Spectacular
Brief Introduction to Spectacular
 
Alabot
AlabotAlabot
Alabot
 
What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#
 
Tensorflow go
Tensorflow goTensorflow go
Tensorflow go
 
Wipro-TechnicalRound&HRInterviewQuestions (1).doc
Wipro-TechnicalRound&HRInterviewQuestions (1).docWipro-TechnicalRound&HRInterviewQuestions (1).doc
Wipro-TechnicalRound&HRInterviewQuestions (1).doc
 
PHP App Performance / Sydney PHP
PHP App Performance / Sydney PHPPHP App Performance / Sydney PHP
PHP App Performance / Sydney PHP
 
E4IT STARTER - MODULE 12.pdf
E4IT STARTER - MODULE 12.pdfE4IT STARTER - MODULE 12.pdf
E4IT STARTER - MODULE 12.pdf
 
Graphql
GraphqlGraphql
Graphql
 
Getting Started with Graph Databases
Getting Started with Graph Databases Getting Started with Graph Databases
Getting Started with Graph Databases
 

Mehr von Jo Hanna Pearce

Systems of Snowflakes : Beauty, Complexity and Choice
Systems of Snowflakes : Beauty, Complexity and ChoiceSystems of Snowflakes : Beauty, Complexity and Choice
Systems of Snowflakes : Beauty, Complexity and ChoiceJo Hanna Pearce
 
Hacking Your Head - Managing Information Overload (45 mix)
Hacking Your Head  - Managing Information Overload (45 mix)Hacking Your Head  - Managing Information Overload (45 mix)
Hacking Your Head - Managing Information Overload (45 mix)Jo Hanna Pearce
 
Hacking Your Head : Managing Information Overload (extended)
Hacking Your Head : Managing Information Overload (extended)Hacking Your Head : Managing Information Overload (extended)
Hacking Your Head : Managing Information Overload (extended)Jo Hanna Pearce
 
Hacking Your Head : Managing Information Overload
Hacking Your Head : Managing Information OverloadHacking Your Head : Managing Information Overload
Hacking Your Head : Managing Information OverloadJo Hanna Pearce
 
What is cognitive load theory and why should you care?
What is cognitive load theory and why should you care?What is cognitive load theory and why should you care?
What is cognitive load theory and why should you care?Jo Hanna Pearce
 

Mehr von Jo Hanna Pearce (6)

Interface incantations
Interface incantationsInterface incantations
Interface incantations
 
Systems of Snowflakes : Beauty, Complexity and Choice
Systems of Snowflakes : Beauty, Complexity and ChoiceSystems of Snowflakes : Beauty, Complexity and Choice
Systems of Snowflakes : Beauty, Complexity and Choice
 
Hacking Your Head - Managing Information Overload (45 mix)
Hacking Your Head  - Managing Information Overload (45 mix)Hacking Your Head  - Managing Information Overload (45 mix)
Hacking Your Head - Managing Information Overload (45 mix)
 
Hacking Your Head : Managing Information Overload (extended)
Hacking Your Head : Managing Information Overload (extended)Hacking Your Head : Managing Information Overload (extended)
Hacking Your Head : Managing Information Overload (extended)
 
Hacking Your Head : Managing Information Overload
Hacking Your Head : Managing Information OverloadHacking Your Head : Managing Information Overload
Hacking Your Head : Managing Information Overload
 
What is cognitive load theory and why should you care?
What is cognitive load theory and why should you care?What is cognitive load theory and why should you care?
What is cognitive load theory and why should you care?
 

Kürzlich hochgeladen

Dubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in DubaiDubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in DubaiMonica Sydney
 
Deira call girls 0507330913 Call girls in Deira
Deira call girls 0507330913  Call girls in DeiraDeira call girls 0507330913  Call girls in Deira
Deira call girls 0507330913 Call girls in DeiraMonica Sydney
 
Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...
Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...
Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...call girls kolkata
 
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book nowUnnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book nowNitya salvi
 
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Nitya salvi
 
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...call girls kolkata
 
Call Girls In Gandhinagar 📞 8617370543 At Low Cost Cash Payment Booking
Call Girls In Gandhinagar 📞 8617370543  At Low Cost Cash Payment BookingCall Girls In Gandhinagar 📞 8617370543  At Low Cost Cash Payment Booking
Call Girls In Gandhinagar 📞 8617370543 At Low Cost Cash Payment BookingNitya salvi
 
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...call girls kolkata
 
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyHire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyNitya salvi
 
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Call Girls Mumbai
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfXtreame HDTV
 
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Mumbai
 
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...DipikaDelhi
 
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...Call Girls Mumbai
 
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In TurbheTurbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In TurbhePriya Reddy
 
Ambassa Escorts | 8617370543 call girls service for all Users
Ambassa Escorts | 8617370543 call girls service for all UsersAmbassa Escorts | 8617370543 call girls service for all Users
Ambassa Escorts | 8617370543 call girls service for all UsersNitya salvi
 
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls AgencyHire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls AgencyNitya salvi
 
Pakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girlsPakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girlsMonica Sydney
 
Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...
Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...
Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...Nitya salvi
 
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...Priya Reddy
 

Kürzlich hochgeladen (20)

Dubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in DubaiDubai Call girls Service 0524076003 Call girls in Dubai
Dubai Call girls Service 0524076003 Call girls in Dubai
 
Deira call girls 0507330913 Call girls in Deira
Deira call girls 0507330913  Call girls in DeiraDeira call girls 0507330913  Call girls in Deira
Deira call girls 0507330913 Call girls in Deira
 
Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...
Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...
Call girls Service Dombivli - 9332606886 Our call girls are sure to provide y...
 
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book nowUnnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
Unnao 💋 Call Girl 8617370543 Call Girls in unnao Escort service book now
 
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
 
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
Call Girls Kozhikode - 9332606886 Our call girls are sure to provide you with...
 
Call Girls In Gandhinagar 📞 8617370543 At Low Cost Cash Payment Booking
Call Girls In Gandhinagar 📞 8617370543  At Low Cost Cash Payment BookingCall Girls In Gandhinagar 📞 8617370543  At Low Cost Cash Payment Booking
Call Girls In Gandhinagar 📞 8617370543 At Low Cost Cash Payment Booking
 
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
 
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyHire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
 
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
Bhubaneswar🌹Patia ❤CALL GIRLS 9777949614 💟 CALL GIRLS IN bhubaneswar ESCORT S...
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
 
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
 
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
Call girls Service Berhampur - 9332606886 Our call girls are sure to provide ...
 
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
 
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In TurbheTurbhe Female Escorts 09167354423  Turbhe Escorts,Call Girls In Turbhe
Turbhe Female Escorts 09167354423 Turbhe Escorts,Call Girls In Turbhe
 
Ambassa Escorts | 8617370543 call girls service for all Users
Ambassa Escorts | 8617370543 call girls service for all UsersAmbassa Escorts | 8617370543 call girls service for all Users
Ambassa Escorts | 8617370543 call girls service for all Users
 
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls AgencyHire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
Hire 💕 8617370543 Dhalai Call Girls Service Call Girls Agency
 
Pakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girlsPakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girls
 
Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...
Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...
Call Girls South Tripura Just Call 8617370543 Top Class Call Girl Service Ava...
 
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...Ghansoli Escorts Services 09167354423  Ghansoli Call Girls,Call Girls In Ghan...
Ghansoli Escorts Services 09167354423 Ghansoli Call Girls,Call Girls In Ghan...
 

A is for Angular

  • 1. @jdpearce / #AisForAngular #AisForAngular by Jo Hanna Pearce (she/her) A is for Angular. The reason we’re here! There’s quite a lot to it, not all of it clear What I’m going to attempt is poetic oration Of Angular aspects that cause consternation There’s so much to say and I haven’t much time I’ve got 26 letters to get through in rhyme.
  • 2. @jdpearce / #AisForAngular Browser B is for… B is for Browser, for which we all build There isn’t just one, we may need polyfills We test different systems as much as we’re able So as not to exclude anyone from our table.
  • 3. @jdpearce / #AisForAngular Core, Common C is for… C is for Core where we find ContentChild Compiler as well which each module provides Common we need as the name might suggest And ComponentFixture with which we write tests
  • 4. @jdpearce / #AisForAngular @Decorators D is for… D is for Decorators, what are they for? They make classes and methods and properties do more! How do we add such syntactical sweetness? They’re just functions that bring some grammatical neatness!
  • 5. @jdpearce / #AisForAngular Elements E is for… E is for Elements. Exciting and new! Portable Angular components for you! Not only easier to load on the fly But - standards compliant - they’re consumable by The other big frameworks, even plain javascript There’ll be fun getting future big projects to “shipped”!
  • 6. @jdpearce / #AisForAngular Forms F is for… F is for Formats and Factories and Forms. Driven by templates or is reactive the norm? This is one of those areas where preference feels muddled And seems like it could leave developers troubled
  • 7. @jdpearce / #AisForAngular Guards G is for… Under G we find Guards and some methods that get From protecting our Routes to LocaleDateFormat The methods are more or less simple enough But explaining the router and guards would be tough… With the time rushing onward I won’t even try If I have to use more sketchy rhymes I might cry.
  • 8. @jdpearce / #AisForAngular @Host H is for… H is for Http and our Host Hypertext transport is something that most Of the devs in this room will probably get But you may not have used the Host decorator yet It tells the injector just where it should cease As it tries to acquire what it needs piece by piece
  • 9. @jdpearce / #AisForAngular Ivy (Renderer3) I is for… I is for Ivy. Or Renderer3 Simpler and faster and small as a flea Or that’s the intention it’s not quite yet done But it’s out there to try if you want to have fun
  • 10. @jdpearce / #AisForAngular JitCompilerFactory, JSONPipe J is for… J brings us on to JitCompilerFactory About which the docs are quite unsatisfactory There’s JsonPipe too which I’m sure we’ve all used But as it’s impure it should not be abused It’s great for debugging, seeing under the skin Of components we write and the properties within.
  • 11. @jdpearce / #AisForAngular KeyValues K is for… K is for KeyValues used in the map For detecting the changes throughout our app This has left many devs feeling hopelessly wrecked As they look up ExpressionChangedAfterItHasBeenChecked
  • 12. @jdpearce / #AisForAngular Location L is for… L is Location, the way we might tell The parts of our app from each URL The strategy used changes how the address Of our pages will look and whether the mess With its readable straightforward slashes and slugs Will instead of all that be just hashes and bugs
  • 13. @jdpearce / #AisForAngular MessageBus M is for… M is for Modules and Messages and Mocks While module is one of the main building blocks The MessageBus may not be something you’ve found It sends data between the UI and background While the web worker code isn’t ready just yet It’s importance will grow in the future I bet…
  • 14. @jdpearce / #AisForAngular Ng* N is for… Navigation is next and the NO_ERRORS_SCHEMA And of course all the classes beginning Ng* Who’d have thought that the devs of a modern creation Would succumb to the need for Hungarian notation?
  • 15. @jdpearce / #AisForAngular OnInit, OnDestroy… O is for… Onwards to O for OnInit, OnDestroy, The decorators Optional and Output, oh joy! There’s nothing that seems unfamiliar here Just parts of the system we hold near and dear
  • 16. @jdpearce / #AisForAngular Plural P is for… P is for Plural a curious thing If you look up the rules for outputting strings For the locales your users might reasonably expect The unicode CLDR has the specs. I don’t recommend it for a light bedtime read But for localisation it’s a doc you should heed.
  • 17. @jdpearce / #AisForAngular QueryList Q is for… Q is for querying all of the things. We can query with types or query with strings We can query the content, query the view And be sure we’re updated of anything new!
  • 18. @jdpearce / #AisForAngular RxJS R is for… To observe all the things we need RxJS And there’s more to this lib than some docs might suggest If you’re struggling with state and try NgRx You’ll learn more of its breadth and at first be perplexed How you ever could limit yourself to subscriptions That ended with only a single emission…
  • 19. @jdpearce / #AisForAngular Schematics S is for… With S we might like to consider Schematics For workflow improvements they could be dramatic But only if what we are hoping to gain Is a better approach to the code we maintain Pragmatically projects that stay fairly small May not have a need for Schematics at all.
  • 20. @jdpearce / #AisForAngular TypeScript T is for… T is for TypeScript, not as hard as you thought Although lately it seems there’s a war being fought Between those of us pleased with their explicit typing And others who seem to be constantly sniping That javascript really was made to be free And guessing what everything does is the key!
  • 21. @jdpearce / #AisForAngular UpgradeModule U is for… U brings the UpgradeModule into sight And I honestly can’t recommend that you fight With the hybridisation of Angular Apps, Separate them by route, don’t fall into the traps Of thinking that as this is something we could, That means it is one of the things that we should.
  • 22. @jdpearce / #AisForAngular View* V is for… V brings us round to ViewChild and ViewChildren ViewContainerRef and ViewEncapsulation I really can’t fit into here what they do But note the distinction between content and view There’s a DOM for the things that we View on the screen And another for Content that sets up the scenes
  • 23. @jdpearce / #AisForAngular WTF? W is for… W brings us to classes that look As though they all start with the phrase “what the f…” The intent here is not just to make you all smirk WTF stands for Web Tracing Framework If performance is key this may be what you’re using But for everyone else we see code that’s amusing.
  • 24. @jdpearce / #AisForAngular XhrFactory X is for… X is for XhrFactory and well… What else is there under this letter to tell? They’ve wrapped XMLHttpRequest It’s one of the things that allows us to test!
  • 25. @jdpearce / #AisForAngular You Y is for… Y is for You, all the people here seated Who wrestle with code and remain undefeated Community is something that makes us all better (And frankly there’s nothing that starts with this letter)
  • 26. @jdpearce / #AisForAngular Zones Z is for… Z is for Zones, about which all I’ll say Is I’m hoping we no longer need them one day. And that little thought is the last thing I’ll mention I’m grateful you’ve lasted the course, paid attention I’ve rushed through a lot in a very short time, And I think now I’ve used all my Angular rhymes!
  • 27. @jdpearce / #AisForAngular TH NK YOU.TH NK YOU.