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.7k
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
410
What the JAMstack?
frontendne
1
1.1k
Talking the talk
frontendne
0
600
Other Decks in Technology
See All in Technology
飯から始まるデータエンジニア
sansantech
PRO
0
110
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
550
Gov-JAWS#9 統合監視機能のマネージドサービス化+AIによる障害時自動調査
fj_yoshimura_kosuke
0
220
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
320
gradle-best-practices 使ってみた
mikanichinose
0
180
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
8
7.2k
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
470
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
890
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
4
1.7k
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
170
IoTのデータ保存をSREの観点で考える
grimoh
1
110
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
210
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
109
250k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
620
Design in an AI World
tapps
1
390
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
Statistics for Hackers
jakevdp
799
230k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
GraphQLとの向き合い方2022年版
quramy
50
15k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k