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
Marionette: Building your first app
Search
Frontend NE
May 07, 2015
Technology
0
410
Marionette: Building your first app
Building your first web app in Marionette
Frontend NE
May 07, 2015
Tweet
Share
More Decks by Frontend NE
See All by Frontend NE
Standardizing 'select': What the future holds for HTML - Stephanie Stimac @ FrontendNE
frontendne
4
360
CSS Regression testing - James A Lambert @ FrontendNE
frontendne
1
310
Building a design system for Lloyds Banking - Lilly Dart @ FrontendNE
frontendne
0
1.4k
What I learnt about hiring diverse teams from conducting a fully-anonymous recruitment process - Bethan Vicent
frontendne
0
260
Web Design that Doesn't Make Trans People Uncomfortable - Jessica Kelsall
frontendne
0
710
Contain yourself - Docker for developers
frontendne
2
240
Design process of a website
frontendne
0
270
What the JAMstack?
frontendne
1
880
Talking the talk
frontendne
0
460
Other Decks in Technology
See All in Technology
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
3
230
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
2
200
Webアプリケーションにオブザーバビリティを実装するRust入門ガイド
nwiizo
3
580
複数サービスを支えるマルチテナント型Batch MLプラットフォーム
lycorptech_jp
PRO
0
230
ChatGPTとPlantUML/Mermaidによるソフトウェア設計
gowhich501
1
120
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
170
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
1
240
DevIO2025_継続的なサービス開発のための技術的意思決定のポイント / how-to-tech-decision-makaing-devio2025
nologyance
1
350
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
210
react-callを使ってダイヤログをいろんなとこで再利用しよう!
shinaps
1
210
カミナシ社の『ID管理基盤』製品内製 - その意思決定背景と2年間の進化 #AWSUnicornDay / Kaminashi ID - The Big Whys
kaminashi
3
850
Obsidian応用活用術
onikun94
1
430
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
187
54k
Statistics for Hackers
jakevdp
799
220k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Unsuck your backbone
ammeep
671
58k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Documentation Writing (for coders)
carmenintech
74
5k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Transcript
Marionette Building your first app
Building your first app Cover core Marionette concepts Routing Layouts
Event handling Rendering data
Who am I? Lead developer Pebble Income Generation for Schools
Python/Django Web apps
JavaScript Framework Generate HTML Server integration Respond to user input
Why Marionette? Backbone.js No magic … ok maybe a little
Active development Helpful, friendly community
Microblog Simple list of tweet-like objects Click on an item
to view connected comments Won’t look pretty Focus on the HTML we need
Marionette - Application Links your page to your app Starts
your JavaScript app Initialise your routes and layouts Feed data into your app
Marionette - AppRouter Map URL fragments to methods Wire up
your controller
Marionette - Controller Decide what screens to show Handle top-level
data flow
Marionette - Views Renders data Event handling User Input Data
change
Backbone - Models Your data Binds your application to server
Fetch Save
Backbone - Collections Like models but lists Optional type-checking Helpers
Marionette - Event/Trigger Handle user input Propagate view hierarchy React
to model changes
And more Behaviors - common view behavior Radio - global
events Template engines Regions Underscore
Helpful Links gitter.im/marionettejs/backbone.marionette backbonejs.org underscorejs.org marionettejs.com/docs/current YouTube - Dancing with
Marionette
Questions? https://www.mypebble.co.uk scott.walton@mypebble.co.uk @scott_walton github.com/scott-w www.scottwalton.codes