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
Modular UI with (Angular || Ember)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Andy Appleton
January 15, 2014
Programming
140
0
Share
Modular UI with (Angular || Ember)
A talk at the London Ember.js meetup
Andy Appleton
January 15, 2014
More Decks by Andy Appleton
See All by Andy Appleton
Done is better than perfect
appltn
0
600
Rage against the state machine
appltn
1
560
Building web apps with Express
appltn
4
510
The Modern JavaScript Application
appltn
5
690
Object Creation Pattern Performance
appltn
1
830
Introducing Mint Source
appltn
1
420
Other Decks in Programming
See All in Programming
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
270
AI時代になぜ書くのか
mutsumix
0
390
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
130
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
tRPCの概要と少しだけパフォーマンス
misoton665
2
270
My daily life on Ruby
a_matsuda
3
360
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
510
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
280
ハーネスエンジニアリングとは?
kinopeee
13
7k
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
390
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
370
Featured
See All Featured
A Soul's Torment
seathinner
6
2.8k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
110
Navigating Weather and Climate Data
rabernat
0
190
The Spectacular Lies of Maps
axbom
PRO
1
740
HDC tutorial
michielstock
2
660
Exploring anti-patterns in Rails
aemeredith
3
350
BBQ
matthewcrist
89
10k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
35k
Skip the Path - Find Your Career Trail
mkilby
1
120
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Designing for humans not robots
tammielis
254
26k
Transcript
MODULAR UI WITH (ANGULAR || EMBER)
ANDY APPLETON @appltn
None
IN JANUARY 2013 WE HAD A PROBLEM
None
customer merchant partner
customer merchant partner
None
WE STARTED SEEING PATTERNS
None
None
None
DEVELOPERS ARE ALLERGIC TO DUPLICATION
<!-- my-page.html --> ! <gc-modal></gc-modal>
<!-- modal-template.html --> ! <a href="#">Show modal</a> <div class="modal-hidden">
<h1>Modal title</h1> <p>Modal content</p> </div>
<!-- my-page.html --> ! <gc-modal link-text="Add customer"> </gc-modal>
<!-- modal-template.html --> ! <a href="#">{{link-text}}</a> <div class="modal-hidden"> <h1>Modal
title</h1> <p>Modal content</p> </div>
<!-- my-page.html --> ! <gc-modal link-text="Add customer"> <h1>New Customer</h1> <form>
... </form> </gc-modal>
<!-- modal-template.html --> ! <a href="#">{{link-text}}</a> ! <div class="hidden-modal" ng-transclude></div>
ANGULAR ROCKS!
EMBER SUCKS!
QUESTIONS?
<!-- my-page.html --> ! {{#gc-modal title="Add customer"}} <h1>{{title}}</h1> <p>Dialog content</p>
{{/gc-modal}}
<!-- modal-template.html --> ! <a href="#">{{link-text}}</a> <div class="hidden-modal"> {{yield}}
</div>
NEXT PROBLEM
THOSE PESKY CUSTOMERS
customer merchant partner
None
SEPARATE APPS SHARED COMPONENTS
TO THE RESCUE
None
THE APP BECOMES A THIN(ish) LAYER OF GLUE CODE
None
None
None
/gocardless-ng
?