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
570
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
190
Other Decks in Programming
See All in Programming
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
5.3k
Inside Stream API
skrb
1
680
A2UI という光を覗いてみる
satohjohn
1
120
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
3.6k
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.3k
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
160
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
210
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
180
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
Vite+ Unified Toolchain for the Web
naokihaba
0
240
Featured
See All Featured
Evolving SEO for Evolving Search Engines
ryanjones
0
210
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
530
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Building Adaptive Systems
keathley
44
3k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
Designing for humans not robots
tammielis
254
26k
Docker and Python
trallard
47
3.9k
Six Lessons from altMBA
skipperchong
29
4.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
230
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Fireside Chat
paigeccino
42
3.9k
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