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
450
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
410
CSS Regression testing - James A Lambert @ FrontendNE
frontendne
1
340
Building a design system for Lloyds Banking - Lilly Dart @ FrontendNE
frontendne
0
1.5k
What I learnt about hiring diverse teams from conducting a fully-anonymous recruitment process - Bethan Vicent
frontendne
0
290
Web Design that Doesn't Make Trans People Uncomfortable - Jessica Kelsall
frontendne
0
750
Contain yourself - Docker for developers
frontendne
2
270
Design process of a website
frontendne
0
320
What the JAMstack?
frontendne
1
950
Talking the talk
frontendne
0
510
Other Decks in Technology
See All in Technology
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
610
Agent Skils
dip_tech
PRO
0
110
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
130
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
プロポーザルに込める段取り八分
shoheimitani
1
290
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
470
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
150
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
210
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
320
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.2k
Why Our Code Smells
bkeepers
PRO
340
58k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Abbi's Birthday
coloredviolet
1
4.8k
We Have a Design System, Now What?
morganepeng
54
8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Marketing to machines
jonoalderson
1
4.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
170
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
[email protected]
@scott_walton github.com/scott-w www.scottwalton.codes