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
590
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
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
130
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
560
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
230
源内ハンズオン概要編
hideg
0
220
Flow は今どうなっているか
mizdra
PRO
0
760
バグを直したら useEffect が消えた
colorful12
3
770
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.2k
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.3k
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
670
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
540
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
570
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
820
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Ethics towards AI in product and experience design
skipperchong
2
350
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
560
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
280
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Invisible Side of Design
smashingmag
301
52k
Designing Experiences People Love
moore
143
24k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
250
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