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
300
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
220
CSS Regression testing - James A Lambert @ FrontendNE
frontendne
1
200
Building a design system for Lloyds Banking - Lilly Dart @ FrontendNE
frontendne
0
940
What I learnt about hiring diverse teams from conducting a fully-anonymous recruitment process - Bethan Vicent
frontendne
0
140
Web Design that Doesn't Make Trans People Uncomfortable - Jessica Kelsall
frontendne
0
530
Contain yourself - Docker for developers
frontendne
2
160
Design process of a website
frontendne
0
140
What the JAMstack?
frontendne
1
610
Talking the talk
frontendne
0
310
Other Decks in Technology
See All in Technology
SPI原点回帰論:事業課題とFour Keysの結節点を見出す実践的ソフトウェアプロセス改善 / DevOpsDays Tokyo 2024
visional_engineering_and_design
4
1.8k
〜小さく始めて大きく育てる〜データ分析基盤の開発から活用まで
kniino
0
2.1k
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
5
360
継続的な改善 x ⾮連続的な進化
sansantech
PRO
3
120
小さな開発会社がWebサービスを作る理由
polidog
PRO
1
180
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
340
生産性向上チームの紹介
cybozuinsideout
PRO
1
830
AWS認定資格を取得したので、初めてマネコンを触った時を振り返ってみた。
ainatsuptr
2
100
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
130
データベース02: データベースの概念
trycycle
0
130
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
170
Hands-on / Kaname Frusawa / Cloud Compare Users Meetup 2024 at University of Tokyo on April 17
paraworld
2
480
Featured
See All Featured
Statistics for Hackers
jakevdp
789
220k
Gamification - CAS2011
davidbonilla
76
4.6k
Rebuilding a faster, lazier Slack
samanthasiow
72
8.2k
Music & Morning Musume
bryan
41
5.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
11
4.6k
Bash Introduction
62gerente
604
210k
We Have a Design System, Now What?
morganepeng
42
6.7k
Documentation Writing (for coders)
carmenintech
59
3.9k
Building Flexible Design Systems
yeseniaperezcruz
318
37k
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
Building an army of robots
kneath
300
41k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2.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
[email protected]
@scott_walton github.com/scott-w www.scottwalton.codes