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
200
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
120
I2C basics with Arduino
mulderp
0
210
Sharing hardware with JavaScript
mulderp
1
190
Arduino October meetup
mulderp
0
110
Physical JavaScript with Johnny-5, Cylon and Tessel
mulderp
1
1.1k
Blogging and writing about JavaScript
mulderp
2
860
Minimum Viable Interactions
mulderp
3
580
Arduino July Meetup
mulderp
0
94
Other Decks in Programming
See All in Programming
ECSのサービス間通信 4つの方法を比較する 〜Canary,Blue/Greenも添えて〜
tkikuc
11
2.4k
OpenTelemetryでRailsのパフォーマンス分析を始めてみよう(KoR2024)
ymtdzzz
5
1.9k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.1k
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
2.2k
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
190
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
410
JavaでLチカしたい! / JJUG CCC 2024 Fall LT
nhayato
0
110
受け取る人から提供する人になるということ
little_rubyist
0
170
色々なIaCツールを実際に触って比較してみる
iriikeita
0
310
リリース8年目のサービスの1800個のERBファイルをViewComponentに移行した方法とその結果
katty0324
5
4.1k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
310
WEBエンジニア向けAI活用入門
sutetotanuki
0
320
Featured
See All Featured
Happy Clients
brianwarren
97
6.7k
What's in a price? How to price your products and services
michaelherold
243
12k
BBQ
matthewcrist
85
9.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Large-scale JavaScript Application Architecture
addyosmani
510
110k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
It's Worth the Effort
3n
183
27k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Writing Fast Ruby
sferik
627
61k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
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