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
Query Params and the Ember Router
Search
alexspeller
August 30, 2013
Programming
600
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Query Params and the Ember Router
An adventure in Routerland. My talk at emberfest.eu on 30th August 2013
alexspeller
August 30, 2013
More Decks by alexspeller
See All by alexspeller
iPhone HTML5 Web Apps
alexspeller
2
200
Other Decks in Programming
See All in Programming
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
16k
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
370
contenteditable と日本語入力に向き合う
colorful12
0
190
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
250
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
330
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.3k
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
110
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
130
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
1
110
残高管理から台帳サービスへの進化
artoy
1
200
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
golang-bob.pdf
iwatsukayura
0
130
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
320
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
New Earth Scene 8
popppiees
4
2.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How to build a perfect <img>
jonoalderson
1
6.1k
The Curious Case for Waylosing
cassininazir
1
570
Designing Experiences People Love
moore
143
24k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Why Our Code Smells
bkeepers
PRO
340
58k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Transcript
Query Params An adventure in Routerland Lead Engineer @ @alexspeller
None
None
“Extra” application state
What if it’s optional?
What if it’s Controller State?
Solutions so far Ember Query github.com/alexspeller/ember-query Ember Query Params github.com/eltehupkes/ember-query-params
Custom hacks github.com/your-username/pain-and-regret
Query Params in master? https://github.com/emberjs/ember.js/pull/3182
Defining Query Params
Query Params are Global
Nested Routes
Route Hooks
Transitioning
linkTo helper
Query Params are Sticky
Clearing Query Params
Boolean Query Params
Gotcha: Observers
TODO Model Query Params vs Controller Query Params Nicer way
to bind query params to controller state ??? Profit
Takeaways Routing is hard Nested routing is hard Asynchronus nested
routing is hard Ember’s router is crazy awesome
None