" Angular 2.0", Андрей Альперт, DataArt
Transcript of " Angular 2.0", Андрей Альперт, DataArt
Спикер:
Тема презентации:
Андрей Альперт
Angular 2.0
корабли бороздят просторы Большого театра.
Angular 1.xShould it be considered?
Stable and powerfulLarge communityLots of existing tools and librariesWill be maintained by Google
Angular 2.0Motivations
Performance
Angular 2.0Motivations
PerformanceThe Changing Web
Angular 2.0Motivations
PerformanceThe Changing WebBetter Mobile Support
Angular 2.0Motivations
PerformanceThe Changing WebBetter Mobile SupportEase of Use
Angular 2.0 FeaturesAtScript
Not Another LanguageES6 and BeyondUses TypeScript syntaxOptional Runtime ValidationAnnotations + Introspections
Angular 2.0 FeaturesAtScript
Angular 2.0 FeaturesDependency Injection Framework
Type and Metadata AnnotationsTransient/LifetimeChild InjectorsPromises, Lazy Load, etc…
Angular 2.0 FeaturesTemplating
Overview
Angular 2.0 FeaturesTemplating
OverviewDynamic Loading
Angular 2.0 FeaturesTemplating
OverviewDynamic LoadingDirectives
Angular 2.0 FeaturesComponent Directive
Used to Create Custom ElementsShows General Pattern
Angular 2.0 FeaturesDecorator Directive
Decorates Existing Elements With New Behavior
Angular 2.0 FeaturesTemplate Directive
Transforms HTML into a reusable template
Angular 2.0 FeaturesDatabinding
[attribute] one way binding to view
(event) attach event handler
(^event) attach bubbling event handler
[attribute|name] specifies the local var name
${expression} interpolate binding and covvert it to string to string
Angular 2.0 FeaturesThe Router
BasicsChild RoutersScreen ActivationFlexible Design