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
Query Params and the Ember Router
Search
alexspeller
August 30, 2013
Programming
2
510
Query Params and the Ember Router
An adventure in Routerland. My talk at emberfest.eu on 30th August 2013
alexspeller
August 30, 2013
Tweet
Share
More Decks by alexspeller
See All by alexspeller
iPhone HTML5 Web Apps
alexspeller
2
180
Other Decks in Programming
See All in Programming
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
nekko cloudにおけるProxmox VE利用事例
irumaru
3
430
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
470
선언형 UI에서의 상태관리
l2hyunwoo
0
160
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
Go の GC の不得意な部分を克服したい
taiyow
3
780
103 Early Hints
sugi_0000
1
230
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
190
php-conference-japan-2024
tasuku43
0
270
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
220
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
327
38k
A better future with KSS
kneath
238
17k
The Invisible Side of Design
smashingmag
298
50k
Unsuck your backbone
ammeep
669
57k
Documentation Writing (for coders)
carmenintech
66
4.5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
98
A Philosophy of Restraint
colly
203
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Embracing the Ebb and Flow
colly
84
4.5k
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