Eastcode Sessions (Košice, Slovakia)
event: https://www.meetup.com/de-DE/eastcode-sessions/events/251475451/ source code: https://github.com/duffleit/angular-advanced-design-patterns/
Advanced AngularDesign PatternsKošice, 11.07.2018
View Slide
David LeitnerTechnical Expert at@dufeit
@dufeit
7th Law of Computer Programming:Program complexity grows untilit exceeds the capability of theprogrammer to maintain it.@dufeit
How sofware appicatons evove over tme
Root-ComponentParent-ComponentComponentParent-ComponentViewChildCompose Components withng-contentMake usage of theComponent InjectorsProvide reusabe contents byng-template@dufeit
Smart & Dump Components@dufeitor Presentational and Container Components
Make usage of theMarker DirectivesContentChildrenAccess chidren from outside byContentChildrenAccess Component Injectors with{ read: … }Directive ContentChildrenProviderreadDirective@dufeit
TL;DR:UseComposition