+ All Categories
Home > Education > Responsive web design with Angularjs

Responsive web design with Angularjs

Date post: 22-Feb-2017
Category:
Upload: arnab-pradhan
View: 88 times
Download: 2 times
Share this document with a friend
17
Responsive web app design using Slides Assembled by: Slides Assembled by: Slides Assembled by: Slides Assembled by: Arnab Arnab Arnab Arnab Pradhan Pradhan Pradhan Pradhan Roll No. 91/MCA/130028 Roll No. 91/MCA/130028 Roll No. 91/MCA/130028 Roll No. 91/MCA/130028 Reg. No. 133 Reg. No. 133 Reg. No. 133 Reg. No. 133- - -1124 1124 1124 1124- - -0276 0276 0276 0276- - -12 12 12 12
Transcript
Page 1: Responsive web design with Angularjs

Responsive web app design using

Slides Assembled by: Slides Assembled by: Slides Assembled by: Slides Assembled by: ArnabArnabArnabArnab PradhanPradhanPradhanPradhanRoll No. 91/MCA/130028Roll No. 91/MCA/130028Roll No. 91/MCA/130028Roll No. 91/MCA/130028Reg. No. 133Reg. No. 133Reg. No. 133Reg. No. 133----1124112411241124----0276027602760276----12121212

Page 2: Responsive web design with Angularjs

� What is AngularJS� Features of AngularJS� Why AngularJS� jQuery vs AngularJS

Page 3: Responsive web design with Angularjs

� A MVC JavaScript framework by Google for creating single page dynamic web application

� Open Source◦ GitHub: https://github.com/angular/angular.js

◦ MIT License◦ MIT License

Page 4: Responsive web design with Angularjs

� Two-way Data Binding – Model as single source of truth

� Directives – Extend HTML

� MVC

� Dependency Injection� Dependency Injection

� Testing

� Deep Linking (Map URL to route Definition)

� Server – Side Communication

Page 5: Responsive web design with Angularjs

� Views are declarative◦ The structure of the interface

� Controllers do not need to directly manipulate the view◦ Changes in the models / data are automatically ◦ Changes in the models / data are automatically reflected in the view

◦ Updates are managed by the frameworks

Page 6: Responsive web design with Angularjs

Directives are markers (such as attributes, tags,and class names) that tell AngularJS to attach agiven behavior to a DOM element (or transformit, replace it, etc.)

Some angular directivesSome angular directives

� The ng-app - Bootstrapping your app anddefining its scope.

� The ng-controller - defines which controller willbe in charge of your view.

� The ng-repeat - Allows for looping throughcollections

Page 7: Responsive web design with Angularjs

Model (Data) View (UI)Notifies

Controller (Logic)

Notifies

Changes

Page 8: Responsive web design with Angularjs

Model

DOM

JS Objects

Controller

View

JS Classes

DOM

Page 9: Responsive web design with Angularjs

� Angular implements MVC by asking you to split your app into MVC components, then just let Angular do the rest.

� Angular manages your components for you and also serves as the pipeline that connects and also serves as the pipeline that connects them.

Page 10: Responsive web design with Angularjs

� Unit testing front end code is usually hard because there are so many sticky dependencies. Angular’s DI allows you to mock out many of these dependencies and isolate individual components.isolate individual components.

Page 11: Responsive web design with Angularjs

� Deep linking supported

� Server side communication is done by $http and $resource services

Page 12: Responsive web design with Angularjs

� Scope management

� Form validation

� Animation

� Routing

Filters� Filters

� API client

........ Many more

Page 13: Responsive web design with Angularjs
Page 14: Responsive web design with Angularjs
Page 15: Responsive web design with Angularjs

Angular 2 (Angular-Meteor)Write Angular on the server(angular-meteor.com)

Page 16: Responsive web design with Angularjs

[1] https://github.com/angular/angular.js[2] http://campus.codeschool.com/courses/shaping-up-with-angular-js/[3] https://docs.angularjs.org/api/[4] http://www.nganimate.org/[5] http://ngmodules.org/modules/ngtimeago[5] http://ngmodules.org/modules/ngtimeago[6] http://angular-js.in/panhandler/

Page 17: Responsive web design with Angularjs

Any Question?


Recommended