SPA05-Intro-to-Angular Introduction and its types

jexidet287 8 views 14 slides Jun 28, 2024
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

Presentation about Angular


Slide Content

05 | An Introduction to AngularJS Stacey Mulcahy | Technical Evangelist Dave Voyles | Technical Evangelist

Module Overview The what and whys of AngularJS jQuery to AngularJS Common AngularJS Taxonomy AngularJS BootStrapping

The what and why of AngularJS

What is AngularJS Open source framework maintained by Google and community MVC framework for dynamic web applications Extends HTML for two way binding for automatic synchronization of models and views Declarative UI and Imperative Business Logic

Why Angular JS Angular JS is widely embraced by the web development community and is very active creating resources Visual Studio with Web Essentials provides intellisense for AngularJS in HTML Many features including templating, two way data-binding, dependency injection, directives, testable, extensibility

Moving from jQuery to AngularJS

jQuery to AngularJS Requires a bit of a mindshift jQuery is seen as augmentation, not infrastructure Architecture focused : building applications, not web pages Declarative UI means view based functionality is apparent Distinct Model Layer – not the DOM

jQuery to AngularJS Declarative UI in AngularJS vs jQuery

AngularJS Taxonomy

AngularJS Taxonomy MODULE CONTROLLER DIRECTIVES SERVICES Organizational and reusable container for different parts of your apps. Module for each feature. Business logic for views Extend HTML, used as widgets often Reusable business logic independant of views

AngularJS Bootstrapping

AngularJS Bootstrapping AngularJS downloaded HTML page is loaded Looks for ng-app sets ng-app as root of app Injector for Dependency Injector Created Scope object created Traverses dom to find directives, bindings etc Waits for changes to model Updates bindings on change of model

Resources Best Video Tutorials over at Egghead.io https://egghead.io / Definitive Guide http:// www.airpair.com/angularjs Angular Code Snippets http://www.johnpapa.net/angularjs-code-snippets-for-visual-studio/ Style Guide https://github.com/johnpapa/angularjs-styleguide#single-responsibility Visual Studio Angular SPA template http://visualstudiogallery.msdn.microsoft.com/5af151b2-9ed2-4809-bfe8-27566bfe7d83