This week John and Chris use an example of building a forum to talk about how to conditionally create the components you need without the use of ngIf statements. The discussion includes the steps to get there, why you would want to do it this way, and gotchas along the way.
Quick Tips:
Regex101 FTW
cmder console
Links:
https://angular.io/guide/dynamic-component-loader
Music: Phortitude by Shane Ivers - https://www.silvermansound.com
This week it's all about Testing. Specifically Unit Testing in Angular. John and Chris cover everything from why you want to test your code and how to get started with testing, including some gotchas along the way.
Quick Tips:
Using Dynalist to organize your thoughts and work plans
Splitting your Angular libraries for better performance
Links:
https://angular.io/guide/testing
https://freakonomics.com/podcast/the-cobra-effect-a-new-freakonomics-radio-podcast/
Music: Phortitude by Shane Ivers - https://www.silvermansound.com
This week John and Chris talk about Authentication in Angular. They discuss everything from how to guard your routes in your Angular app to methods for modifying the http requests to include auth tokens.
Quick Tips:
Image and video capture in your merge requests
Windows PowerToys and screen templates
Links:
https://github.com/microsoft/PowerToys
https://angular.io/guide/router#milestone-5-route-guards
https://angular.io/api/common/http/HttpInterceptor
https://maxchadwick.xyz/blog/http-request-header-size-limits
Music: Phortitude by Shane Ivers - https://www.silvermansound.com
Angular Libraries are where you turn your modules into npm packages that can be used in other Angular applications. John and Chris dive into this subject going over concepts and terms. Then talk about how to build out and structure your libraries, along with plenty of tips and gotchas. They even go into how to handle distributing your packages using your own repository manager and semantic versioning.
Quick Tips:
npx and how to use a package without installing it
using rxjs take(1) to fake http calls using a subject
Links:
https://angular.io/guide/libraries
https://github.com/milestechnologies/ngx-package-starter
https://www.npmjs.com/package/npx
https://www.learnrxjs.io/learn-rxjs/operators/filtering/take
https://www.npmjs.com/package/ng-packagr
https://docs.npmjs.com/misc/semver
https://www.sonatype.com/nexus-repository-oss
Music: Phortitude by Shane Ivers - https://www.silvermansound.com
Chris and John tackle RxJS. Starting with the basics including terminology and concepts and going in depth on use cases, operators, pipes, and some of the tips and gotchas.
Quick Tips:
Fork a GUI for git
Who's afraid of Regex :)
Links:
http://phillydotnet.org/2020-1-schedule.html go to Saturday's sessions for our talk
https://twitter.com/JohnGrahamDev
https://twitter.com/PilgrimSecret
https://www.milestechnologies.com/careers/
Music: Phortitude by Shane Ivers - https://www.silvermansound.com
Chris and John explore Angular's Change Detection. Starting with the basics or terminology and concepts and going in depth on how it works, performance concerns, and tips.
Quick Tips:
Windows Key + V
Object.assign()
Links:
http://phillydotnet.org/2020-1-schedule.html go to Saturday's sessions for our talk
https://twitter.com/JohnGrahamDev
https://twitter.com/PilgrimSecret
https://www.milestechnologies.com/careers/
Music: Phortitude by Shane Ivers - https://www.silvermansound.com
Chris and John tackle Lazy Loading in Angular. Starting with the basics including terminology and concepts and going in depth on how it works, performance concerns, and tips.
Quick Tips:
Prettier config files
Impostor Syndrome
Links:
http://phillydotnet.org/2020-1-schedule.html go to Saturday's sessions for our talk
https://twitter.com/JohnGrahamDev
https://twitter.com/PilgrimSecret
https://www.milestechnologies.com/careers/
Music: Phortitude by Shane Ivers - https://www.silvermansound.com