ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
WHEN TWO FORCES MEET
SIRAR SALIH
.NET CONSULTANT
When Two Forces Meet

HTML enhanced for web apps!

29.01.2014

/

2
When Two Forces Meet

POST (later)
GET (once)

From wikipedia

29.01.2014

/

3
When Two Forces Meet
? Directives
¨C Powerful, Angular-only feature
¨C Simplify DOM manipulation by reusable custom functionality
? Data binding
¨C Models
? Controllers
¨C Behavior
¨C Avoid DOM manipulation
? Form validation
¨C Easy client-side validation
? Localization
¨C Filter directives
? Testability
¨C Designed to be testable
¨C Easy dependency injection
? +++

29.01.2014

/

4
When Two Forces Meet
? Module
¨C Sub-modules

29.01.2014

/

5
When Two Forces Meet
? Controller

29.01.2014

/

6
When Two Forces Meet
? Directive

29.01.2014

/

7
When Two Forces Meet
? Service
¨C Data

29.01.2014

/

8
When Two Forces Meet
? Service
¨C Data

29.01.2014

/

9
When Two Forces Meet

29.01.2014 /

10
When Two Forces Meet

29.01.2014 /

11
When Two Forces Meet
? JavaScript compiler language
? Write object oriented JavaScript
? Classes
? Interfaces
? Base classes
? Inheritance
? Namespaces
? ++

29.01.2014 /

12
When Two Forces Meet

29.01.2014 /

13
When Two Forces Meet

29.01.2014 /

14
When Two Forces Meet

Share Races module across files:

29.01.2014 /

15
When Two Forces Meet

Ethnicities.ts:

29.01.2014 /

16
When Two Forces Meet

+

29.01.2014 /

17
When Two Forces Meet

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

18
Bootstrapper

29.01.2014 /

19
Controller Classes

29.01.2014 /

20
Binding Through Alias

29.01.2014 /

21
Directive Classes

29.01.2014 /

22
Directive Classes

29.01.2014 /

23
Demo

29.01.2014 /

24
Unit Testing
? Jasmine:

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

25
Unit Testing
? Karma test runner:

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

26
Unit Testing
? Karma test runner:

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

27
Test Automation
? Integration with TeamCity:

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

28
Test Automation
? Integration with TeamCity:

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

29
Code Coverage
? Istanbul plugin. Locally and integration with TeamCity :

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

30
Code Coverage
? Instanbul plugin. Locally and integration with TeamCity :

?With great power, comes great responsibility.? ¨C Uncle Ben

29.01.2014 /

31
Thank you ? / Questions

Blog: http://sirars.com/
? sirar.salih@itera.no / sirars@gmail.com
? @SirarSalih
Ad

Recommended

Connecting Akka with Oracle Event Hub Cloud Service
Connecting Akka with Oracle Event Hub Cloud Service
Dalibor Blazevic
?
Eks upgrade from_1.12_to_1.14
Eks upgrade from_1.12_to_1.14
HoseokSeo7
?
Case sharing - tixCraft on AWS re:Invent 2015 Recap | ̨ž³
Case sharing - tixCraft on AWS re:Invent 2015 Recap | ̨ž³
KT Chiu
?
EmberCLI Rails: An Integration Love Story.
EmberCLI Rails: An Integration Love Story.
Jonathan Jackson
?
Brisbane DevOps Meetup - Reinvent 2015
Brisbane DevOps Meetup - Reinvent 2015
Michael Villis
?
Azure functions
Azure functions
vivek p s
?
Developing Resilient Cloud Native Apps with Spring Cloud
Developing Resilient Cloud Native Apps with Spring Cloud
Dustin Ruehle
?
One Framework to Rule Them All
One Framework to Rule Them All
Sirar Salih
?
Serverless data processing with Data Pipeline
Serverless data processing with Data Pipeline
Radek Miazio
?
Aws amity university_presentation_oct-31-2020
Aws amity university_presentation_oct-31-2020
Varun Manik
?
The guardian and app engine
The guardian and app engine
Michael Brunton-Spall
?
Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2
Kimberly Macias
?
Cloud Scale Lessons Learned
Cloud Scale Lessons Learned
Nick Stephens
?
DevOps with AWS in 2016
DevOps with AWS in 2016
Lorenzo Aiello
?
Scala + Akka + ning/async-http-client - Vancouver Scala meetup February 2015
Scala + Akka + ning/async-http-client - Vancouver Scala meetup February 2015
Yanik Berube
?
DevOpsCon Cloud Workshop
DevOpsCon Cloud Workshop
Sascha M?llering
?
Sas 2015 event_driven
Sas 2015 event_driven
Sascha M?llering
?
Sitecore and Gulp
Sitecore and Gulp
CodersCenter
?
Web Services¡­ Made Easy Without Any Coding
Web Services¡­ Made Easy Without Any Coding
Safe Software
?
Building a reliable, scalable service with Clojure and Core.async
Building a reliable, scalable service with Clojure and Core.async
Kapil Reddy
?
Escalabilidade com Lambda e Elastic Beanstalk ¨C Parte I
Escalabilidade com Lambda e Elastic Beanstalk ¨C Parte I
Leandro Silva
?
Operational elastic
Operational elastic
Ed Anderson
?
Load Testing Serverless Applications And Understanding How Lambda Scales
Load Testing Serverless Applications And Understanding How Lambda Scales
Vishnu Prasad
?
Scaling the guardian
Scaling the guardian
Michael Brunton-Spall
?
Kotlin for backend using serverless + aws lambda
Kotlin for backend using serverless + aws lambda
Bert A?asco
?
Inrastructure as Code
Inrastructure as Code
Charles Anderson
?
Serverless with Azure Functions
Serverless with Azure Functions
Andreas Willich
?
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (10 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (10 min. lightning talk)
Sirar Salih
?

More Related Content

What's hot (19)

Serverless data processing with Data Pipeline
Serverless data processing with Data Pipeline
Radek Miazio
?
Aws amity university_presentation_oct-31-2020
Aws amity university_presentation_oct-31-2020
Varun Manik
?
The guardian and app engine
The guardian and app engine
Michael Brunton-Spall
?
Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2
Kimberly Macias
?
Cloud Scale Lessons Learned
Cloud Scale Lessons Learned
Nick Stephens
?
DevOps with AWS in 2016
DevOps with AWS in 2016
Lorenzo Aiello
?
Scala + Akka + ning/async-http-client - Vancouver Scala meetup February 2015
Scala + Akka + ning/async-http-client - Vancouver Scala meetup February 2015
Yanik Berube
?
DevOpsCon Cloud Workshop
DevOpsCon Cloud Workshop
Sascha M?llering
?
Sas 2015 event_driven
Sas 2015 event_driven
Sascha M?llering
?
Sitecore and Gulp
Sitecore and Gulp
CodersCenter
?
Web Services¡­ Made Easy Without Any Coding
Web Services¡­ Made Easy Without Any Coding
Safe Software
?
Building a reliable, scalable service with Clojure and Core.async
Building a reliable, scalable service with Clojure and Core.async
Kapil Reddy
?
Escalabilidade com Lambda e Elastic Beanstalk ¨C Parte I
Escalabilidade com Lambda e Elastic Beanstalk ¨C Parte I
Leandro Silva
?
Operational elastic
Operational elastic
Ed Anderson
?
Load Testing Serverless Applications And Understanding How Lambda Scales
Load Testing Serverless Applications And Understanding How Lambda Scales
Vishnu Prasad
?
Scaling the guardian
Scaling the guardian
Michael Brunton-Spall
?
Kotlin for backend using serverless + aws lambda
Kotlin for backend using serverless + aws lambda
Bert A?asco
?
Inrastructure as Code
Inrastructure as Code
Charles Anderson
?
Serverless with Azure Functions
Serverless with Azure Functions
Andreas Willich
?
Serverless data processing with Data Pipeline
Serverless data processing with Data Pipeline
Radek Miazio
?
Aws amity university_presentation_oct-31-2020
Aws amity university_presentation_oct-31-2020
Varun Manik
?
Blue Chip Tek AWS Connect and Protect Presentation #2
Blue Chip Tek AWS Connect and Protect Presentation #2
Kimberly Macias
?
Cloud Scale Lessons Learned
Cloud Scale Lessons Learned
Nick Stephens
?
Scala + Akka + ning/async-http-client - Vancouver Scala meetup February 2015
Scala + Akka + ning/async-http-client - Vancouver Scala meetup February 2015
Yanik Berube
?
Web Services¡­ Made Easy Without Any Coding
Web Services¡­ Made Easy Without Any Coding
Safe Software
?
Building a reliable, scalable service with Clojure and Core.async
Building a reliable, scalable service with Clojure and Core.async
Kapil Reddy
?
Escalabilidade com Lambda e Elastic Beanstalk ¨C Parte I
Escalabilidade com Lambda e Elastic Beanstalk ¨C Parte I
Leandro Silva
?
Operational elastic
Operational elastic
Ed Anderson
?
Load Testing Serverless Applications And Understanding How Lambda Scales
Load Testing Serverless Applications And Understanding How Lambda Scales
Vishnu Prasad
?
Kotlin for backend using serverless + aws lambda
Kotlin for backend using serverless + aws lambda
Bert A?asco
?
Serverless with Azure Functions
Serverless with Azure Functions
Andreas Willich
?

More from Sirar Salih (9)

Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (10 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (10 min. lightning talk)
Sirar Salih
?
Angular 2 + TypeScript = true. Let's Play!
Angular 2 + TypeScript = true. Let's Play!
Sirar Salih
?
Test Driving AngularJS
Test Driving AngularJS
Sirar Salih
?
Test Driven Development with AngularJS
Test Driven Development with AngularJS
Sirar Salih
?
Introduction to WPF and MVVM
Introduction to WPF and MVVM
Sirar Salih
?
Clean Code
Clean Code
Sirar Salih
?
Angularfying Your ASP.NET MVC APP
Angularfying Your ASP.NET MVC APP
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (15 min. lightning talk)
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Azure Table Storage: The Good, the Bad, the Ugly (full talk)
Sirar Salih
?
Azure Table Storage: The Good, the Bad, the Ugly (10 min. lightning talk)
Azure Table Storage: The Good, the Bad, the Ugly (10 min. lightning talk)
Sirar Salih
?
Angular 2 + TypeScript = true. Let's Play!
Angular 2 + TypeScript = true. Let's Play!
Sirar Salih
?
Test Driving AngularJS
Test Driving AngularJS
Sirar Salih
?
Test Driven Development with AngularJS
Test Driven Development with AngularJS
Sirar Salih
?
Introduction to WPF and MVVM
Introduction to WPF and MVVM
Sirar Salih
?
Angularfying Your ASP.NET MVC APP
Angularfying Your ASP.NET MVC APP
Sirar Salih
?
Ad

Recently uploaded (20)

Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
?
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
?
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
?
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
?
Turning the Page ¨C How AI is Exponentially Increasing Speed, Accuracy, and Ef...
Turning the Page ¨C How AI is Exponentially Increasing Speed, Accuracy, and Ef...
Impelsys Inc.
?
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
?
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
?
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
?
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
?
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
?
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
?
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
?
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
?
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
?
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
?
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
?
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
?
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
?
Turning the Page ¨C How AI is Exponentially Increasing Speed, Accuracy, and Ef...
Turning the Page ¨C How AI is Exponentially Increasing Speed, Accuracy, and Ef...
Impelsys Inc.
?
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
?
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
?
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
?
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
?
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
?
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
?
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
?
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
?
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
?
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
?
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
?
Ad

When Two Forces Meet