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
540
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
TypeScript LSP の今までとこれから
quramy
1
500
実はすごいスピードで進化しているCSS
hayato_yokoyama
0
110
機械学習って何? 5分で解説頑張ってみる
kuroneko2828
0
210
つよそうにふるまい、つよい成果を出すのなら、つよいのかもしれない
irof
1
280
RubyKaigiで得られる10の価値 〜Ruby話を聞くことだけが RubyKaigiじゃない〜
tomohiko9090
0
140
Use Perl as Better Shell Script
karupanerura
0
690
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
250
Gleamという選択肢
comamoca
6
700
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
750
PT AI без купюр
v0lka
0
230
WindowInsetsだってテストしたい
ryunen344
1
130
プロダクト開発でも使おう 関数のオーバーロード
yoiwamoto
0
150
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Adopting Sorbet at Scale
ufuk
77
9.4k
The Cost Of JavaScript in 2023
addyosmani
50
8.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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