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
330
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
250
CSS Regression testing - James A Lambert @ FrontendNE
frontendne
1
230
Building a design system for Lloyds Banking - Lilly Dart @ FrontendNE
frontendne
0
1.1k
What I learnt about hiring diverse teams from conducting a fully-anonymous recruitment process - Bethan Vicent
frontendne
0
170
Web Design that Doesn't Make Trans People Uncomfortable - Jessica Kelsall
frontendne
0
580
Contain yourself - Docker for developers
frontendne
2
180
Design process of a website
frontendne
0
170
What the JAMstack?
frontendne
1
750
Talking the talk
frontendne
0
350
Other Decks in Technology
See All in Technology
Storage Browser for Amazon S3
miu_crescent
1
170
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
200
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
260
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
490
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
110
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
170
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
190
Google Cloud で始める Cloud Run 〜AWSとの比較と実例デモで解説〜
risatube
PRO
0
110
Wantedly での Datadog 活用事例
bgpat
1
470
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
450
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.3k
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Statistics for Hackers
jakevdp
796
220k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Thoughts on Productivity
jonyablonski
67
4.4k
Scaling GitHub
holman
458
140k
What's in a price? How to price your products and services
michaelherold
243
12k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
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