QC - Week 6

studied byStudied by 11 people
5.0(1)
get a hint
hint

Modules

1 / 49

Studying Progress

0%
New cards
50
Still learning
0
Almost done
0
Mastered
0
50 Terms
1
New cards

Modules

containers for a cohesive block of code dedicated to an application domain, workflow or closely related set of capabilities

New cards
2
New cards

module decorator metadata

declarations, exports, imports, providers and bootstrap

New cards
3
New cards

declarations

the components, directives and pipes that belong to this module

New cards
4
New cards

exports

the subset of declarations that should be visible and usable in the component templates of other modules

New cards
5
New cards

imports

other modules whose exported classes are needed by component templates declared in this module

New cards
6
New cards

providers

creators of services that this module contributes to the global collection of services; they become accessible in all parts of the application

New cards
7
New cards

bootstrap

the main application view, called the root component, which hosts all other application views. only the root module should set the bootstrap property

New cards
8
New cards

components

the most basic ui building block of an angular app

New cards
9
New cards

component decorator

@component

New cards
10
New cards

template

a chunk of html, uses special syntax to build angular features

New cards
11
New cards

directives

extended html attributes that can be based on state of the component

used with [ ]

New cards
12
New cards

attribute directives

ngClass - apply classes ngStyle - set multiple inline styles simultaneously ngModel - display a data property and update that property when the user makes changes

New cards
13
New cards

structural directives

NgIf - conditionally creates or disposes of subviews from the template NgFor - repeat a node for each item in a list NgSwitch - a set of directives that switch among alternative views

New cards
14
New cards

input

decorator that marks a class field as an input property and supplies configuration metadata

New cards
15
New cards

output

decorator that marks a class field as an output property and supplies configuration metadata, can pass data to a parent component

New cards
16
New cards

interpolation binding

embedding expression into marked up text using the {{ and }} as delimiters

New cards
17
New cards

property binding

set values for properties of html elements or directives

used for toggle button features, set paths programmatically and share values between components

enclose the property in [ ], identifies it as target property, set value to a variable, expression or function

New cards
18
New cards

event binding

lets you listen for and respond to user actions such as keystrokes, mouse movements, clicks and touches

target event name is enclosed in ( ), template statement in " "

New cards
19
New cards

two way binding

gives components in your application a way to share data

used to listen for events and update values simultaneously between parent and child components

[ ( )]

New cards
20
New cards

dependency injection

allows classes with angular decorators, such as components, directives, pipes and injectables, to configure dependencies that they need using an injector

dependency is requested by a dependency consumer, injector checks its registry to see if an instance is there from a provider, if not it creates an instance and stores it in the registry

define a provider with the @injectable() decorator to show the class can be injected

provide it to components in their @component decorator with the providers field or in the ngmodule using the providers field of the @ngmodule decorator

inject the dependency in the constructor of the class

New cards
21
New cards

spa

single page application, only one page in the application, components and loaded and removed dynamically via user input/navigation

makes production deployment easier (one index, css bundle, and javascript bundle) minimal network loading time, only initial page load, everything else is generated at client side, only data is requested from server

difficult to search crawl

New cards
22
New cards

cli

command line interface tool to initialize, develop, scaffold and maintain angular applications directly from command shell

ng generate - make something ng new - make a new angular workspace ng serve - build the application and host it locally ng add - add external library ng build - compile application or libary into an output directory

New cards
23
New cards

ng serve vs ng build

both compile and bundle application serve does not write build files to any folder and cannot deploy in another server build generates output folder that can be used to deploy in any external server

New cards
24
New cards

JIT (just in time) compilation

done during the run time of application browser dowloads the compiler along with application files

New cards
25
New cards

AOT (ahead of time) compilation

compilation is done during the build process and compiled files are bundled and downloaded by the browser default compilation

New cards
26
New cards

angular json

provides workspace-wide and project-specific configuration defaults version of angular, customized cli commands, ng generate schematics

New cards
27
New cards

deploy to remote server

start production build with ng build copy output folder to folder on server configure server to redirect requests for missing files to index.html

New cards
28
New cards

httpclient

perform http requests, available as injectable class with methods to perform http requests

request() - construct an observable generic request, specify type in params addBody() - provide data in body of request post(), get(), put()/patch(), delete(),

New cards
29
New cards

routing

import AppRoutingModule to AppModule and add it to imports array import components to AppRoutingModule

add route to component in routes of RouteModule {path: 'path', component: Component}

add routes to application with routerLink attribute <a routerLink="/route"

New cards
30
New cards

RxJS

libary for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code

New cards
31
New cards

forms

for handling user input

New cards
32
New cards

reactive forms vs template driven forms

reactive forms are explicit, created in the component class template driven are implicit, created by directives

reactive data models are structured and immutable template driven are unstructured and mutable

reactive data flow is synchronous template driven is asynchronous

reactive form validation is done by functions template driven validation is done by directives

New cards
33
New cards

pipes

used to transform strings, currency amounts, dates and other data for display

custom pipe class with @pipe, can be used to filter objects

value | pipe

"date" - formats a date value "uppercase" "lowercase" "currency" transforms number to currency string "decimal" transforms number into string with decimal point "percent" transforms a number to percentage string

New cards
34
New cards

jasmine

JavaScript testing framework that supports behavior-driven development, describes tests in a human readable format

describe(string, function) defines test suite, collection of test specs

it(string, function) defines an individual test spec

expect(actual) an expectation, in conjunction with matcher to describe an expected piece of behavior in the app

matcher(expected) does a Boolean comparison with expected and fails if not same

New cards
35
New cards

karma

tool that spawns browsers and run jasmine tests inside of them, displaying their results

New cards
36
New cards

testbed

configures and initializes environment for unit testing and provides methods for creating components and services in unit tests

New cards
37
New cards

mocking

make fake services returning random data

New cards
38
New cards

cloud computing

the delivery of computing services, including servers, storage, databases, networking, software, analytics, and intelligence over the internet (cloud) to offer faster innovation, flexible resources, and economies of scale

New cards
39
New cards

Cloud Computing - Model Types

public cloud - accessible to many businesses private cloud - owned by a single business

New cards
40
New cards

Cloud Computing - Service Types

IaaS Infrastructure as a service access to basic virtual servers, cloud data storage, and networking Amazon Web Services, Microsoft Azure

PaaS platform as a service framework to build, collaborate, test and deploy software applications within an organization Windows Azure

SaaS Software as a service software application that the organization has access to Office 365, Dropbox

New cards
41
New cards

DevOps

the combination of cultural philosophies, practices, and tools that increases an organization’s ability to deliver applications and services at high velocity: evolving and improving products at a faster pace than organizations using traditional software development and infrastructure management processes.

delivery pipeline build test release

feedback loop monitor plan

New cards
42
New cards

continuous integration

developers regularly merge their code changes into a central repository, after which automated builds and tests are run.

New cards
43
New cards

continuous delivery

code changes are automatically prepared for a release to production must be manually approved

New cards
44
New cards

continuous deployment

continuous delivery no manual approval

New cards
45
New cards

pipeline

continuous integration and delivery platform that allows you to automate your build, test and deployment pipeline

New cards
46
New cards

workflow

configurable automated process that will run one or more jobs

New cards
47
New cards

events

specific activity in a repo that triggers a workflow run

New cards
48
New cards

jobs

set of steps in a workflow taht execute on teh same runner

New cards
49
New cards

actions

custom applications that perform a complex but frequently repeated

New cards
50
New cards

runner

server than runs your workflows when they're triggered

New cards

Explore top notes

note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 30 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 13 people
Updated ... ago
4.0 Stars(1)
note Note
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 1612 people
Updated ... ago
5.0 Stars(4)

Explore top flashcards

flashcards Flashcard49 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard93 terms
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard74 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard57 terms
studied byStudied by 65 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard42 terms
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard49 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard142 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard596 terms
studied byStudied by 22 people
Updated ... ago
5.0 Stars(1)