SlideShare a Scribd company logo
Angular JS
AngularJS is a toolset for building the
framework most suited to your application
development.
It is fully extensible and works well with other
libraries.
Every feature can be modified or replaced to
suit your unique development workflow and
feature needs.
Concepts
There are a few core ideas that you’ll use
throughout an Angular app. As it turns out,
we didn’t invent any of these. Instead, we’ve
borrowed heavily from successful idioms in
other development environments and
implemented them in a way that embraces
HTML, browsers, and many other familiar
web standards.
Concepts
●

Client-Side Templates

●

Model View Controller (MVC)

●

Data Binding

●

Dependency Injection

●

Directives
Client-Side Templates
●

●

Multi-page web applications create their
HTML by assembling and joining it with data
on the server, and then shipping the finished
pages up to the browser.
Angular is different in that the template and
data get shipped to the browser to be
assembled there.
Client-Side Templates
●

●

●

●

●

There are no classes or IDs in the HTML to identify
where to attach event listeners.
When HelloController set the greeting.text to Hello, we
didn’t have to register any event listeners or write any
callbacks.
HelloController is a plain JavaScript class, and doesn’t
inherit from anything.
HelloController got the $scope object that it needed
without having to create it.
We didn’t have to call the HelloController’s constructor
ourselves
Client-Side Templates

Example
●

●

●

Model View Controller (MVC)

MVC application structure was introduced in
the 1970s as part of Smalltalk.
The core idea behind MVC is that you have
clear separation in your code between
managing its data (model), the application
logic (controller), and presenting the data to
the user (view).
●

●

Model View Controller (MVC)

The view is the Document Object Model
(DOM)

●

The controllers are JavaScript classes

●

The model data is stored in object properties.
Data Binding

●

●

●

Before AJAX single-page apps were common,
platforms like Rails, PHP, or JSP helped us
create the user interface (UI) by merging
strings of HTML with data before sending it to
the users to display it.
Libraries like jQuery extended this model to
the client and let us follow a similar style, but
with the ability to update, part of the DOM
separately, rather than updating the whole
page.
Data Binding
●

This all works pretty well, but when you want
to insert fresher data into the UI, or change
the data based on user input, you need to do
quite a bit of non-trivial work to make sure you
get the data into the correct state, both in the
UI and in JavaScript properties.
Data Binding
●

●

●

But what if we could have all this work done
for us without writing code?
What if we could just declare which parts of
the UI map to which JavaScript properties and
have them sync automatically?
This style of programming is called

binding.

data
Data Binding

Example
Dependency Injection
●

●

●

The $scope object that does our data binding
is passed to us automatically
We didn’t have to create it by calling any
function.
We just asked for it by putting it in
HelloController’s constructor.
Dependency Injection
●

●

●

We get this magical effect through Angular’s
dependency injection system.
Dependency injection lets us follow a
development style in which, instead of
creating dependencies, our classes just ask
for what they need.
This follows a design pattern called the Law
of Demeter, also known as the principle of
least knowledge.
Directives
●

●

One of the best parts of Angular is that you
can write your templates as HTML.
You can do this because at the core of the
framework we’ve included a powerful DOM
transformation engine that lets you extend
HTML’s syntax.
Directives
●

●

●

●

Double-curly( {{ something }} ) notation for
data binding.
ng-app directive lets you tell Angular which
part of your page it should expect to manage
ng-controller for specifying which controller
oversees which part of the view.
ng-model, which binds an input to part of the
model.

●

And more...

●

And you can write your own
Examples

●

http://plnkr.co/edit/Vk6tt1WByib2AjA0ka7Z?p=preview

●

http://plnkr.co/edit/nOJqrklbC48i71ETHb6p?p=preview

More Related Content

What's hot

Single page application 03
Single page application   03Single page application   03
Single page application 03
Ismaeel Enjreny
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
Amit Baghel
 
Angular js
Angular jsAngular js
Angular js
Mindtree
 
Why Use MVC?
Why Use MVC?Why Use MVC?
Why Use MVC?
Jesse Anderson
 
Introduction to Angularjs : kishan kumar
Introduction to Angularjs : kishan kumarIntroduction to Angularjs : kishan kumar
Introduction to Angularjs : kishan kumar
Appfinz Technologies
 
Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in Jaipur
HEMANT SAXENA
 
Angular.js presentation
Angular.js presentationAngular.js presentation
Angular.js presentation
Moran Fine
 
Angular js for web development
Angular js for web developmentAngular js for web development
Angular js for web development
Mindfire LLC
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introduction
Bhagath Gopinath
 
ASP.NET MVC 3
ASP.NET MVC 3ASP.NET MVC 3
ASP.NET MVC 3
Buu Nguyen
 
Mvc summary
Mvc summaryMvc summary
Mvc summary
Muhammad Younis
 
Angular js- 1.X
Angular js- 1.XAngular js- 1.X
Angular js- 1.X
Nitin Giri
 
Angular js anupama
Angular js anupamaAngular js anupama
Angular js anupama
Anupama Prabhudesai
 
AngularJS Overview
AngularJS OverviewAngularJS Overview
AngularJS Overview
GDG Ciudad del Este
 
AngularJS
AngularJSAngularJS
Angular overview
Angular overviewAngular overview
Angular overview
Thanvilahari
 
Angularjs overview
Angularjs  overviewAngularjs  overview
Angularjs overview
VickyCmd
 
How to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a BackendHow to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a Backend
Backand Cohen
 
Component based architecture
Component based architectureComponent based architecture
Component based architectureZaiyang Li
 
Ise312 Ec Presentation Jquery
Ise312 Ec Presentation JqueryIse312 Ec Presentation Jquery
Ise312 Ec Presentation Jquery
duygut
 

What's hot (20)

Single page application 03
Single page application   03Single page application   03
Single page application 03
 
Angularjs PPT
Angularjs PPTAngularjs PPT
Angularjs PPT
 
Angular js
Angular jsAngular js
Angular js
 
Why Use MVC?
Why Use MVC?Why Use MVC?
Why Use MVC?
 
Introduction to Angularjs : kishan kumar
Introduction to Angularjs : kishan kumarIntroduction to Angularjs : kishan kumar
Introduction to Angularjs : kishan kumar
 
Angular JS training institute in Jaipur
           Angular JS training institute in Jaipur           Angular JS training institute in Jaipur
Angular JS training institute in Jaipur
 
Angular.js presentation
Angular.js presentationAngular.js presentation
Angular.js presentation
 
Angular js for web development
Angular js for web developmentAngular js for web development
Angular js for web development
 
Asp.net mvc basic introduction
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introduction
 
ASP.NET MVC 3
ASP.NET MVC 3ASP.NET MVC 3
ASP.NET MVC 3
 
Mvc summary
Mvc summaryMvc summary
Mvc summary
 
Angular js- 1.X
Angular js- 1.XAngular js- 1.X
Angular js- 1.X
 
Angular js anupama
Angular js anupamaAngular js anupama
Angular js anupama
 
AngularJS Overview
AngularJS OverviewAngularJS Overview
AngularJS Overview
 
AngularJS
AngularJSAngularJS
AngularJS
 
Angular overview
Angular overviewAngular overview
Angular overview
 
Angularjs overview
Angularjs  overviewAngularjs  overview
Angularjs overview
 
How to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a BackendHow to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a Backend
 
Component based architecture
Component based architectureComponent based architecture
Component based architecture
 
Ise312 Ec Presentation Jquery
Ise312 Ec Presentation JqueryIse312 Ec Presentation Jquery
Ise312 Ec Presentation Jquery
 

Viewers also liked

Curso de Rails 3
Curso de Rails 3Curso de Rails 3
Curso de Rails 3
Carlos Emanuel Mathiasen
 
國光石化簡介
國光石化簡介國光石化簡介
國光石化簡介zoayzoay
 
國光石化整合版Final
國光石化整合版Final國光石化整合版Final
國光石化整合版Finalzoayzoay
 
Tomo 5.violencia y maltrato.aragon
Tomo 5.violencia y maltrato.aragonTomo 5.violencia y maltrato.aragon
Tomo 5.violencia y maltrato.aragonBego Vilches
 
Beethoven 9.symphonie breitkopf_reinecke
Beethoven 9.symphonie breitkopf_reineckeBeethoven 9.symphonie breitkopf_reinecke
Beethoven 9.symphonie breitkopf_reinecke
Ana Rita Monteiro
 
Tomo 9.escuela.aragon
Tomo 9.escuela.aragonTomo 9.escuela.aragon
Tomo 9.escuela.aragonBego Vilches
 
Windowing of attention
Windowing of attentionWindowing of attention
Windowing of attention
Saeedeh Shekarpour
 
Tomo 4.consumo de sustancias y salud sexual.aragon
Tomo 4.consumo de sustancias y salud sexual.aragonTomo 4.consumo de sustancias y salud sexual.aragon
Tomo 4.consumo de sustancias y salud sexual.aragonBego Vilches
 
Tomo 8.tiempo libre.aragon
Tomo 8.tiempo libre.aragonTomo 8.tiempo libre.aragon
Tomo 8.tiempo libre.aragonBego Vilches
 
Temple 2
Temple 2Temple 2
Temple 2Busada
 
Childrens book project
Childrens book projectChildrens book project
Childrens book projectBusada
 
Tomo 2.alimentacion y dieta.aragon
Tomo 2.alimentacion y dieta.aragonTomo 2.alimentacion y dieta.aragon
Tomo 2.alimentacion y dieta.aragonBego Vilches
 
Confronting the reaper
Confronting the reaperConfronting the reaper
Confronting the reaperBusada
 
Semantic Interpretation of User Query for Question Answering on Interlinked Data
Semantic Interpretation of User Query for Question Answering on Interlinked DataSemantic Interpretation of User Query for Question Answering on Interlinked Data
Semantic Interpretation of User Query for Question Answering on Interlinked Data
Saeedeh Shekarpour
 
Tutorial on Question Answering Systems
Tutorial on Question Answering Systems Tutorial on Question Answering Systems
Tutorial on Question Answering Systems
Saeedeh Shekarpour
 

Viewers also liked (18)

Curso de Rails 3
Curso de Rails 3Curso de Rails 3
Curso de Rails 3
 
國光石化簡介
國光石化簡介國光石化簡介
國光石化簡介
 
國光石化整合版Final
國光石化整合版Final國光石化整合版Final
國光石化整合版Final
 
Tomo 5.violencia y maltrato.aragon
Tomo 5.violencia y maltrato.aragonTomo 5.violencia y maltrato.aragon
Tomo 5.violencia y maltrato.aragon
 
Beethoven 9.symphonie breitkopf_reinecke
Beethoven 9.symphonie breitkopf_reineckeBeethoven 9.symphonie breitkopf_reinecke
Beethoven 9.symphonie breitkopf_reinecke
 
Hardy 001 jazz
Hardy 001 jazzHardy 001 jazz
Hardy 001 jazz
 
Tomo 9.escuela.aragon
Tomo 9.escuela.aragonTomo 9.escuela.aragon
Tomo 9.escuela.aragon
 
Wi presentation
Wi presentationWi presentation
Wi presentation
 
Sina presentation in IBM
Sina presentation in IBMSina presentation in IBM
Sina presentation in IBM
 
Windowing of attention
Windowing of attentionWindowing of attention
Windowing of attention
 
Tomo 4.consumo de sustancias y salud sexual.aragon
Tomo 4.consumo de sustancias y salud sexual.aragonTomo 4.consumo de sustancias y salud sexual.aragon
Tomo 4.consumo de sustancias y salud sexual.aragon
 
Tomo 8.tiempo libre.aragon
Tomo 8.tiempo libre.aragonTomo 8.tiempo libre.aragon
Tomo 8.tiempo libre.aragon
 
Temple 2
Temple 2Temple 2
Temple 2
 
Childrens book project
Childrens book projectChildrens book project
Childrens book project
 
Tomo 2.alimentacion y dieta.aragon
Tomo 2.alimentacion y dieta.aragonTomo 2.alimentacion y dieta.aragon
Tomo 2.alimentacion y dieta.aragon
 
Confronting the reaper
Confronting the reaperConfronting the reaper
Confronting the reaper
 
Semantic Interpretation of User Query for Question Answering on Interlinked Data
Semantic Interpretation of User Query for Question Answering on Interlinked DataSemantic Interpretation of User Query for Question Answering on Interlinked Data
Semantic Interpretation of User Query for Question Answering on Interlinked Data
 
Tutorial on Question Answering Systems
Tutorial on Question Answering Systems Tutorial on Question Answering Systems
Tutorial on Question Answering Systems
 

Similar to Itroducing Angular JS

What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
Albiorix Technology
 
5 benefits of angular js
5 benefits of angular js5 benefits of angular js
5 benefits of angular js
OnGraph Technologies Pvt. Ltd.
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
Eusebiu Schipor
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
Mohd Abdul Baquee
 
Angular js up & running
Angular js up & runningAngular js up & running
Angular js up & running
Junaid Baloch
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
sarah david
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptangularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
Cuneiform Consulting Pvt Ltd.
 
Angular js 1.3 presentation for fed nov 2014
Angular js 1.3 presentation for fed   nov 2014Angular js 1.3 presentation for fed   nov 2014
Angular js 1.3 presentation for fed nov 2014
Sarah Hudson
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
sarah david
 
Angular vs React : A Detailed Comparision
Angular vs React : A Detailed ComparisionAngular vs React : A Detailed Comparision
Angular vs React : A Detailed Comparision
Fortunesoft IT Innovations
 
Angular Basics.pptx
Angular Basics.pptxAngular Basics.pptx
Angular Basics.pptx
AshokKumar616995
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
Gaurav Agrawal
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptx
reshu khan
 
Angular js getting started
Angular js getting startedAngular js getting started
Angular js getting started
Hemant Mali
 
Angular js
Angular jsAngular js
Angular js
ymtech
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
sarah david
 
Introduction to-angular js
Introduction to-angular jsIntroduction to-angular js
Introduction to-angular js
Achintya Kumar
 

Similar to Itroducing Angular JS (20)

What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?What are the key distinctions between Angular and AngularJS?
What are the key distinctions between Angular and AngularJS?
 
5 benefits of angular js
5 benefits of angular js5 benefits of angular js
5 benefits of angular js
 
AngularJS is awesome
AngularJS is awesomeAngularJS is awesome
AngularJS is awesome
 
Angularjs basic part01
Angularjs basic part01Angularjs basic part01
Angularjs basic part01
 
Angular js up & running
Angular js up & runningAngular js up & running
Angular js up & running
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescriptangularjs-vs-angular-the-key-differences-between-javascript-and-typescript
angularjs-vs-angular-the-key-differences-between-javascript-and-typescript
 
Angular js 1.3 presentation for fed nov 2014
Angular js 1.3 presentation for fed   nov 2014Angular js 1.3 presentation for fed   nov 2014
Angular js 1.3 presentation for fed nov 2014
 
Training On Angular Js
Training On Angular JsTraining On Angular Js
Training On Angular Js
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdfangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pdf
 
Angular vs React : A Detailed Comparision
Angular vs React : A Detailed ComparisionAngular vs React : A Detailed Comparision
Angular vs React : A Detailed Comparision
 
Angular Basics.pptx
Angular Basics.pptxAngular Basics.pptx
Angular Basics.pptx
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
Intoduction to Angularjs
Intoduction to AngularjsIntoduction to Angularjs
Intoduction to Angularjs
 
What You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptxWhat You Really Want To Be Aware (2).pptx
What You Really Want To Be Aware (2).pptx
 
Angular js getting started
Angular js getting startedAngular js getting started
Angular js getting started
 
Angular js
Angular jsAngular js
Angular js
 
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptxangularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
angularjs_vs_angular_the_key_differences_between_javascript_and_typescript.pptx
 
Introduction to-angular js
Introduction to-angular jsIntroduction to-angular js
Introduction to-angular js
 

Recently uploaded

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 

Recently uploaded (20)

Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 

Itroducing Angular JS

  • 1. Angular JS AngularJS is a toolset for building the framework most suited to your application development. It is fully extensible and works well with other libraries. Every feature can be modified or replaced to suit your unique development workflow and feature needs.
  • 2. Concepts There are a few core ideas that you’ll use throughout an Angular app. As it turns out, we didn’t invent any of these. Instead, we’ve borrowed heavily from successful idioms in other development environments and implemented them in a way that embraces HTML, browsers, and many other familiar web standards.
  • 3. Concepts ● Client-Side Templates ● Model View Controller (MVC) ● Data Binding ● Dependency Injection ● Directives
  • 4. Client-Side Templates ● ● Multi-page web applications create their HTML by assembling and joining it with data on the server, and then shipping the finished pages up to the browser. Angular is different in that the template and data get shipped to the browser to be assembled there.
  • 5. Client-Side Templates ● ● ● ● ● There are no classes or IDs in the HTML to identify where to attach event listeners. When HelloController set the greeting.text to Hello, we didn’t have to register any event listeners or write any callbacks. HelloController is a plain JavaScript class, and doesn’t inherit from anything. HelloController got the $scope object that it needed without having to create it. We didn’t have to call the HelloController’s constructor ourselves
  • 7. ● ● ● Model View Controller (MVC) MVC application structure was introduced in the 1970s as part of Smalltalk. The core idea behind MVC is that you have clear separation in your code between managing its data (model), the application logic (controller), and presenting the data to the user (view).
  • 8. ● ● Model View Controller (MVC) The view is the Document Object Model (DOM) ● The controllers are JavaScript classes ● The model data is stored in object properties.
  • 9. Data Binding ● ● ● Before AJAX single-page apps were common, platforms like Rails, PHP, or JSP helped us create the user interface (UI) by merging strings of HTML with data before sending it to the users to display it. Libraries like jQuery extended this model to the client and let us follow a similar style, but with the ability to update, part of the DOM separately, rather than updating the whole page.
  • 10. Data Binding ● This all works pretty well, but when you want to insert fresher data into the UI, or change the data based on user input, you need to do quite a bit of non-trivial work to make sure you get the data into the correct state, both in the UI and in JavaScript properties.
  • 11. Data Binding ● ● ● But what if we could have all this work done for us without writing code? What if we could just declare which parts of the UI map to which JavaScript properties and have them sync automatically? This style of programming is called binding. data
  • 13. Dependency Injection ● ● ● The $scope object that does our data binding is passed to us automatically We didn’t have to create it by calling any function. We just asked for it by putting it in HelloController’s constructor.
  • 14. Dependency Injection ● ● ● We get this magical effect through Angular’s dependency injection system. Dependency injection lets us follow a development style in which, instead of creating dependencies, our classes just ask for what they need. This follows a design pattern called the Law of Demeter, also known as the principle of least knowledge.
  • 15. Directives ● ● One of the best parts of Angular is that you can write your templates as HTML. You can do this because at the core of the framework we’ve included a powerful DOM transformation engine that lets you extend HTML’s syntax.
  • 16. Directives ● ● ● ● Double-curly( {{ something }} ) notation for data binding. ng-app directive lets you tell Angular which part of your page it should expect to manage ng-controller for specifying which controller oversees which part of the view. ng-model, which binds an input to part of the model. ● And more... ● And you can write your own