angularjs : superheroic javascript mvw framework

26
www.edureka.co/angular-js View AngularJS course details at www.edureka.co/angular-js For Queries : Post on Twitter @edurekaIN: #askEdureka Post on Facebook /edurekaIN For more details please contact us: US : 1800 275 9730 (toll free) INDIA : +91 88808 62004 Email us : [email protected] AngularJS : Superheroic JavaScript MVW Framework

Upload: edureka

Post on 14-Apr-2017

538 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: AngularJS : Superheroic Javascript MVW Framework

www.edureka.co/angular-js

View AngularJS course details at www.edureka.co/angular-js

For Queries :Post on Twitter @edurekaIN: #askEdurekaPost on Facebook /edurekaIN

For more details please contact us: US : 1800 275 9730 (toll free)INDIA : +91 88808 62004Email us : [email protected]

AngularJS : Superheroic JavaScript MVW Framework

Page 2: AngularJS : Superheroic Javascript MVW Framework

Slide 2 www.edureka.co/angular-jsSlide 2Slide 2Slide 2

Why should we use AngularJS

What is AngularJS

MVC & MVW Architecture

AngularJS Features

How to Build a Responsive Single Page Application

What will you learn today?

Page 3: AngularJS : Superheroic Javascript MVW Framework

Why AngularJS ?

Page 4: AngularJS : Superheroic Javascript MVW Framework

Slide 4 www.edureka.co/angular-jsSlide 4Slide 4Slide 4

Challenges of Web DevelopmentResponsiveness with

different devices

Page 5: AngularJS : Superheroic Javascript MVW Framework

Slide 5 www.edureka.co/angular-jsSlide 5Slide 5Slide 5

Challenges of Web DevelopmentResponsiveness with

different devices

Diverse User Preferences

Page 6: AngularJS : Superheroic Javascript MVW Framework

Slide 6 www.edureka.co/angular-jsSlide 6Slide 6Slide 6

Challenges of Web DevelopmentResponsiveness with

different devices

Diverse User Preferences

Agility to server new requests

with enterprise standards

Page 7: AngularJS : Superheroic Javascript MVW Framework

Slide 7 www.edureka.co/angular-jsSlide 7Slide 7Slide 7

Challenges of Web DevelopmentResponsiveness with

different devices

Diverse User Preferences

Multiple Skill SetsAgility to server new requests

with enterprise standards

Page 8: AngularJS : Superheroic Javascript MVW Framework

Slide 8 www.edureka.co/angular-jsSlide 8Slide 8Slide 8

Challenges of Web DevelopmentResponsiveness with

different devices

Diverse User Preferences

Multiple Skill SetsAgility to server new requests

with enterprise standards

AngularJS will solve

these problems

Page 9: AngularJS : Superheroic Javascript MVW Framework

What is AngularJS ?

Page 10: AngularJS : Superheroic Javascript MVW Framework

Slide 10 www.edureka.co/angular-jsSlide 10Slide 10Slide 10

What is AngularJS?

OpenSource client side JavaScript framework created by

Google

Designed for web developers and designers, who need

to have more control over their web Applications

AngularJS accomplishes a lot by embracing HTML,

JavaScript and CSS

AngularJS was originally developed in 2009 by MiskoHevery and Adam Abrons at Brat Tech LLC, firstly

named as GetAngular

Page 11: AngularJS : Superheroic Javascript MVW Framework

Slide 11 www.edureka.co/angular-jsSlide 11Slide 11Slide 11

A better way to think about angular is not to think about it

as framework but as HTML compiler which allows you to

create your OWN DSL in HTML, by attaching your own behavior to any HTML element, attribute or text. And by any I mean that

you can make up your own names

Misko Hevery

What is AngularJS according to Misko Hevery ?

Page 12: AngularJS : Superheroic Javascript MVW Framework

Slide 12 www.edureka.co/angular-jsSlide 12Slide 12Slide 12

Big Brands Using AngularJS

YouTube application for Sony's PlayStation 3

Page 13: AngularJS : Superheroic Javascript MVW Framework

Slide 13 www.edureka.co/angular-jsSlide 13Slide 13Slide 13

Big Brands Using AngularJS

Page 14: AngularJS : Superheroic Javascript MVW Framework

Slide 14 www.edureka.co/angular-jsSlide 14Slide 14Slide 14

SPA

AngularJS

TakeAway

Let us see what is Single Page Application first

Page 15: AngularJS : Superheroic Javascript MVW Framework

Slide 15 www.edureka.co/angular-jsSlide 15Slide 15Slide 15

SINGLE PAGE APPLICATION

Single Page Application is a web app in which the majority of interactions are handled on the client without the

need to reach a server, with a goal of providing a more fluid user experience

Reference: https://channel9.msdn.com/

Client Side Routing

Client Side Rendering

Page 16: AngularJS : Superheroic Javascript MVW Framework

Slide 16 www.edureka.co/angular-jsSlide 16Slide 16Slide 16

RESPONSIVE SINGLE PAGE APPLICATION

Page 17: AngularJS : Superheroic Javascript MVW Framework

Slide 17 www.edureka.co/angular-jsSlide 17Slide 17Slide 17

SPA

AngularJS

TakeAway

AngularJS in Detail

Page 18: AngularJS : Superheroic Javascript MVW Framework

Slide 18 www.edureka.co/angular-jsSlide 18Slide 18Slide 18

MVC & MVW Way of AngularJS

Model View

Directive

Reference: Avaldes.com

Unit TestController

Whatever

HTML

CSS

MVC MVW

Page 19: AngularJS : Superheroic Javascript MVW Framework

Slide 19 www.edureka.co/angular-js

Features of AngularJS

Page 20: AngularJS : Superheroic Javascript MVW Framework

How To Build Responsive SPA Using AngularJS ?

Page 21: AngularJS : Superheroic Javascript MVW Framework

Slide 21 www.edureka.co/angular-jsSlide 21Slide 21Slide 21

Steps to create an AngularJS Application

1. Include AngularJS

2. Bootstrap the App

3. Create the Controller

4. Create the View

5. Run the Application

AngularJS: Your first program

Page 22: AngularJS : Superheroic Javascript MVW Framework

Demo

Page 23: AngularJS : Superheroic Javascript MVW Framework

Slide 23 www.edureka.co/angular-jsSlide 23Slide 23Slide 23

Building Highly Responsive Single Page Application

Usecase : Build a User Management Application

Prerequisite :

» Text Editor (sublime or notepadd ++)

» Latest browser (Firefox or Chrome)

» Installed NodeJS (server)

» Mongo (To store userinfo)

Project Specifications :

» Login to the Application

» Create a new user

» View Users List

» Update a existing user

» Delete user

» Signout

Page 24: AngularJS : Superheroic Javascript MVW Framework

Slide 24 www.edureka.co/angular-jsSlide 24Slide 24Slide 24

SPA

AngularJS

TakeAway

TakeAways

Page 25: AngularJS : Superheroic Javascript MVW Framework

Slide 25 www.edureka.co/angular-jsSlide 25Slide 25Slide 25

Certifications

Get certified in AngularJS by Edureka

Edureka's AngularJS course: • It covers the fundamental concepts like directives, routes, filters, services and factors which helps to build rich user interface

web applications in AngularJS.• It helps you boost your web development skills and become a sought after SPA (single page application) developer. You will

learn the highly efficient Angular features like data binding, scope management, form validation, routing, i18n & lot more. • Get to implement an AngularJS mean stack-based project towards the end of the course, which gives you complete insights on

the framework along with NodeJS.• Online Live Courses: 21 hours• Assignments: 20 hours• Project: 20 hours• Lifetime Access + 24 X 7 Support

Go to www.edureka.co/angular-js

Batch starts from 10th October (Weekend)

Page 26: AngularJS : Superheroic Javascript MVW Framework

Thank You

Questions/Queries/Feedback

Recording and presentation will be made available to you within 24 hours