Organized by Technology Partner
Component Oriented Architecture with Angular 2 B Y S H I V A N K A D E S I L V A
AngularJS Meetup 2016 Scope - Component Oriented Architecture - Introduction to Angular 2 components - Interaction of Angular 2 components - Componentization We are not designing pages, we are design systems of components. S T E P H E N H E Y
AngularJS Meetup 2016 Component Oriented Architecture • Building the application in small reusable software components • Not a new concept • Components are the basic building blocks of Angular 2 app
AngularJS Meetup 2016 Angular 2 Components • Angular 2 component consists of • HTML • CSS • JavaScript • Two types of components • Presentational/Dumb components • Container/Smart components
Component Blueprint AngularJS Meetup 2016 Module Template HTML + CSS (view) Component Class JavaScript (Controller/ViewModel) Event Binding ( ) Property Binding [ ] Component Service Classes JavaScript (Model) Zone
Data Binding AngularJS Meetup 2016 Template <html> <title>HTML</title> <body> This is HTML! </body> </html> <HTML> Component Interpolation {{ }} Property Binding [ ] Event Binding ( ) Two way Binding [( )]
Component Blueprint AngularJS Meetup 2016 Container Component Container/Component Component Component Container/Component Component Component
Event Binding AngularJS Meetup 2016 Component Interaction Property Binding RC CC CC CC CC CC CC Module Service
Componentization AngularJS Meetup 2016 Navbar Product Price Search Search Price Product Title Title Online Auction About Services Contact FooterCopyright © Online Auction 2016 Carousel Product Name 24.99 Lorem Ipsum is simply dummy text of the printing and typesetting industry Product Product Name 24.99 Lorem Ipsum is simply dummy text of the printing and typesetting industry Product
Thank you

ComponentOrientedArchitectureWithAngular2 -WithFonts