Git Product home page Git Product logo

advangularfeb2023's Introduction

Advanced Angular 6th-8th February 2023

https://github.com/doingandlearning/advAngularFeb2023 (https://bit.ly/glencore-angular)

Kevin Cunningham - Framework Training

  • 9:30 start
  • 11:00 coffee break
  • 1 lunch break
  • 3:00 tea break
  • 4:30 end

Monday

  • intro
  • writing code together
  • best practices and performance
  • interpolation {{}}
  • generating stuff
  • pipes
  • components, modules etc
  • bindings
  • architectural
  • complete the routing
  • compare ways to pass data around in an app
  • input/output/event
  • content projection
  • Review Exercise
  • how to migrate from older angular
  • dev tools
  • *ngIf or [disabled]= also consider [hidden]=

Questions:

  • Queues -> how to interact/subscribe/push ...
  • Websocket - SignalR-JS/SocketIO

Tuesday

  • brief review
  • Services
  • HttpClient Module (replaces earlier Http Module)
  • Review Exercise
  • Forms
  • async pipe
  • subscription: every subscription is destroyed when component is destroyed
  • manually unsubscribe too
  • life-cycle events
  • change detection
  • rxjs, combining data

questions

  • control value accessor
  • router and guarded routes
  • jwt/token service -> outh2
  • store -> story when to use stores
  • 200 properties ... dynamically generate based on the ... simplify reactive forms
  • ngrx/redux example

Wednesday


  • Control Value Accessor => Star Rating
  • ngrx => simple cart store (actions, reducers, selectors)
  • router => looking at guards (CanActivate, CanActivateChild, CanDeactivate)
  • Login services
  • single source of truth for complex forms?

  • Ivy: much better tree-shaking, new DI, faster/smaller code modules, no need for app.module etc.
  • Review Exercise
  • Libraries
  • Testing unit/functional/e2e
  • obfuscated (obfuscation)
  • closure
  • publish - production - look at the generated code esp js, also aot and jit
  • locale (if time)
  • end of course feedback: https://frameworktraining.typeform.com/to/pWO8UiNz

Any questions? [email protected]

Left over questions

Can ngIf/else use anything other than template? Nope.

What is the ngrx UPDATE enum? Can't find it documented anywhere!

What happens for clash in key of stores?

Identity server Angular example

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.