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
550
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
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
690
NIKKEI Tech Talk#38
cipepser
0
310
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.6k
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
480
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
200
What's new in Spring Modulith?
olivergierke
1
180
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
880
品質ワークショップをやってみた
nealle
0
650
Introduce Hono CLI
yusukebe
6
3.2k
EMこそClaude Codeでコード調査しよう
shibayu36
0
470
理論と実務のギャップを超える
eycjur
0
200
マイベストのシンプルなデータ基盤の話 - Googleスイートとのつき合い方 / mybest-simple-data-architecture-google-nized
snhryt
0
100
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Facilitating Awesome Meetings
lara
57
6.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Faster Mobile Websites
deanohume
310
31k
Agile that works and the tools we love
rasmusluckow
331
21k
A Tale of Four Properties
chriscoyier
161
23k
Designing for humans not robots
tammielis
254
26k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
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