Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Marionette: Building your first app
Search
Frontend NE
May 07, 2015
Technology
520
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Marionette: Building your first app
Building your first web app in Marionette
Frontend NE
May 07, 2015
Transcript
16 slides
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
More Decks by Frontend NE
See All by Frontend NE
Standardizing 'select': What the future holds for HTML - Stephanie Stimac @ FrontendNE
frontendne
4
510
CSS Regression testing - James A Lambert @ FrontendNE
frontendne
1
410
Building a design system for Lloyds Banking - Lilly Dart @ FrontendNE
frontendne
0
1.6k
What I learnt about hiring diverse teams from conducting a fully-anonymous recruitment process - Bethan Vicent
frontendne
0
370
Web Design that Doesn't Make Trans People Uncomfortable - Jessica Kelsall
frontendne
0
830
Contain yourself - Docker for developers
frontendne
2
340
Design process of a website
frontendne
0
400
What the JAMstack?
frontendne
1
1.1k
Talking the talk
frontendne
0
600
Other Decks in Technology
See All in Technology
速くなるほど、深く考える AI時代のQAに学ぶ
kobayashiyorimitsu
0
220
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
2
170
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
100
Claude Codeで新規事業を伸ばせるか? Zennの試行錯誤の記録
wadayusuke
2
190
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
1
240
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
1
150
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
230
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
0
630
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
310
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
220
Steering と Hook (チームの決まりを守らせる) | 目指せ Kiro マスター 06
inariku
PRO
2
130
閉域網でのAPI公開の選択肢全部比較!
takano0131
2
240
Featured
See All Featured
Docker and Python
trallard
47
4.3k
The Limits of Empathy - UXLibs8
cassininazir
2
780
Leo the Paperboy
mayatellez
11
2.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Optimising Largest Contentful Paint
csswizardry
37
4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
980
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.8k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Git: the NoSQL Database
bkeepers
PRO
433
67k