Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AngularJS – Schmerzlos mit HTML5 und JavaScript
Search
Ingo Rammer
September 03, 2013
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AngularJS – Schmerzlos mit HTML5 und JavaScript
German Session from MobileTechConference 2013 in Berlin
Ingo Rammer
September 03, 2013
More Decks by Ingo Rammer
See All by Ingo Rammer
Blockchain für Architekten und Entwickler – Was steckt wirklich dahinter
ingorammer
2
800
Workshop: Von Null auf Hundert - Blockchain-Anwendungen mit Hyperledger Fabric
ingorammer
0
670
Hyperledger Fabric - Die Open-Source Basis für Ihre Blockchain
ingorammer
0
690
Coding Hyperledger Fabric – Smart Contracts und Clients mit Node.js
ingorammer
0
710
OOP 2019: Hyperledger Fabric – Architecture and Smart Contracts of the Open Source Blockchain
ingorammer
1
790
Hyperledger Fabric - Die Open-Source Basis für Ihre Blockchain
ingorammer
0
410
Blockchain - Was steckt wirklich dahinter?
ingorammer
0
250
From 0 to 100: Permissioned blockchains with Hyperledger Fabric and Node
ingorammer
0
260
Von Null auf Hundert: Permissioned Blockchain-Anwendungen mit Java Clients
ingorammer
0
170
Other Decks in Programming
See All in Programming
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
130
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
300
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
220
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
150
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
350
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
180
自作OSでスライド発表する
uyuki234
1
3.7k
Embedded SREと共に達成した会員管理システムのAWS移行 - SRE NEXT 2026 ランチスポンサーセッション
niftycorp
PRO
0
2k
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
2k
フィードバックで育てるAI開発
kotaminato
1
110
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
460
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
Designing for humans not robots
tammielis
254
26k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
340
30 Presentation Tips
portentint
PRO
1
340
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
300
Are puppies a ranking factor?
jonoalderson
1
3.7k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
2
320
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
Ingo Rammer | thinktecture AngularJS – Schmerzlos mit HTML5 und
JavaScript
Single-Page Applications (SPAs)
jQuery?
MVC/SPA Frameworks Model Binding Routing UI-Templating … unterschiedlichste Design-Ideen und
Implementationen
http://todomvc.com Sept 2013: 66 Versionen der gleichen App
sproutcore Google Trends – Aug 2009 bis Aug 2013
backbone.js sproutcore Google Trends – Aug 2009 bis Aug 2013
backbone.js ember.js sproutcore Google Trends – Aug 2009 bis Aug
2013
backbone.js knockoutjs ember.js sproutcore Google Trends – Aug 2009 bis
Aug 2013
backbone.js knockoutjs ember.js angularjs sproutcore Google Trends – Aug 2009
bis Aug 2013
AngularJS • http://angularjs.org/, v1.2RC1 • HTML-zentrische SPAs – ("HTML enhanced
for web apps!") • Komponenten aus JS + HTML • Einbettbar, DI-basierend, testbar • Corporate Sponsor: Google
Demos http://github.com/ingorammer/talk-AngularJS
Model Binding Allgemein • Je nach Framework – Controller-Initiiert (Templating,
jQuery, Handlebars/Mustache, ...) – Observer-Pattern (Ember, Knockout, ...) – Framework-Initiiert (Angular)
AngularJS: Controller • Business-Logik • Felder auf $scope sichtbar
in der View • KEINE DOM-Manipulationen im Controller!
AngularJS: Scope • Digest-Zyklus • $apply, um einen Zyklus auszulösen
– Directives, Services, Controller
AngularJS: Directives • Komponenten (HTML + JS) • Kapseln DOM-Manipulationen
• Bekommen Daten aus dem $scope • Applikationsspezifisch oder unabhängig (zB angular-UI) • Können existierende Bibliotheken kapseln
AngularJS: Services • Werden per Dependency Injection (DI) an Controller,
Directives und andere Services im Konstruktor übergeben • Allgemeine Logik, die nicht von einem einzelnen Use-Case abhängt (sonst: Controller) • Achtung bei Minification (array-syntax oder $inject)
AngularJS: Routing • $routeProvider in <module>.config – .when() – .otherwise()
Animation • Seit v1.2 • http://slid.es/gsklee/animation-in- angularjs-12
AngularJS • Struktur, die bis zu großen JS Apps skaliert
– Controller, $scope – DOM-Views, Model-Binding – Directives – Routing – Services – Promises • Keine DOM-Manipulationen im Controller! Meist Directives. Selten Services.
Demos: https://github.com/ingorammer/talk-AngularJS Slides: https://speakerdeck.com/ingorammer @ingorammer
[email protected]
http://www.thinktecture.com