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
Handlebones
Search
mulderp
May 14, 2014
Programming
0
210
Handlebones
A talk on using Backbone together with Handlebars
mulderp
May 14, 2014
Tweet
Share
More Decks by mulderp
See All by mulderp
Node.js for Embedded Systems
mulderp
1
2.8k
Nodebotsday
mulderp
1
130
I2C basics with Arduino
mulderp
0
220
Sharing hardware with JavaScript
mulderp
1
210
Arduino October meetup
mulderp
0
120
Physical JavaScript with Johnny-5, Cylon and Tessel
mulderp
1
1.1k
Blogging and writing about JavaScript
mulderp
2
900
Minimum Viable Interactions
mulderp
3
620
Arduino July Meetup
mulderp
0
100
Other Decks in Programming
See All in Programming
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.9k
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
560
Reading Rails 1.0 Source Code
okuramasafumi
0
250
チームのテスト力を鍛える
goyoki
3
730
楽して成果を出すためのセルフリソース管理
clipnote
0
180
rage against annotate_predecessor
junk0612
0
170
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
340
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
190
Navigating Dependency Injection with Metro
zacsweers
3
2.5k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
530
実用的なGOCACHEPROG実装をするために / golang.tokyo #40
mazrean
1
290
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
5
2.3k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.2k
Automating Front-end Workflow
addyosmani
1370
200k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The World Runs on Bad Software
bkeepers
PRO
70
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Typedesign – Prime Four
hannesfritz
42
2.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Transcript
Handlebones Building an App with Handlebars and Backbone Patrick mulder
@mulpat Munich Ember Meetup May 2014
Background render UI‘s with Key-Value Observation
Views State Updates Server Sync Changes UI Events DOM Templates
MV* Keys Values Handlebars
Handlebars mvc_editor To be released at github, inspired by Andrei
Kashcha
App Dependencies Scaffolding And project structure
Simple controls 1 way data binding = Change in state
-> re-render view
Advanced editing 2 way data binding = • Change in
model -> change in view • Change in input -> change model
Advanced Views • Start with lists or longer inputs •
E.g. the colors
Nested views
References • http://thinkingonthinking.com/two-way-databinding- with-stickit/ • http://thinkingonthinking.com/key-value-pairs/ • https://speakerdeck.com/mulderp/backbone-and- handlebars •
https://github.com/FormidableLabs/handlebones • http://handlebarsjs.com/block_helpers.html