What's special about

AngularJS




(Lightning Talk)


Hugo Josefson / Jayway 2013

Overview


  • What is AngularJS?

  • What makes it special?

  • Adoption advice

What is AngularJS?


Client-side framework for web apps
by Google, Open Source

Embraces and extends:
HTML, CSS, JS

"What HTML would have been
had it been designed for applications"

Used for Doubleclick.net

( where Google makes money )


and for youtube.com/tv


builtwith.angularjs.org

What makes it special?


The Angular Way

Go with it, don't fight it!

Work directly with Data objects

to drive the application

Bind UI (HTML) to Data objects
"Two-way data binding"

What makes it special?


The Angular Way

Go with it, don't fight it!

Create your own HTML elements

with Directives
for custom web components

Avoid manipulating the UI directly
except through Directives

What makes it special?


Learning curve


^ effort                                     ^┃           .-------------                                          ┃    .-----/                       .----              ┃   /Two-way               |               vs  ┃  |data binding          |                   ┃  |                     / Directives         ┃  |      Services      |                     ┃  |    .---------------/                     ┃  |
┃----/                                      ┃ /
╄━━━━━━━━━━━━━━━━> time                     ╄━━━━━━━━━━━━━━>

What makes it special?


Separation of concerns

→ keep source code well-structured

→ easier to test

→ better stability, quality,
stable development pace

Adoption advice


  • Allow yourself to code The Angular way
    • Make the team want it!

  • Learn to code Directives really well
    • at least one person
    • ( good components → efficient programming! )

Thank you!





Questions?





hugo.josefson@jayway.com

What's special about AngularJS? (Lightning Talk)

By Hugo Josefson

What's special about AngularJS? (Lightning Talk)

AngularJS has received massive response and been widely adopted. Why? And what makes it so special?

  • 2,914