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
Discoveries when doing server-side rendering wi...
Search
Izel Nakri
April 25, 2017
Programming
0
300
Discoveries when doing server-side rendering with Ember FastBoot
Izel Nakri
April 25, 2017
Tweet
Share
Other Decks in Programming
See All in Programming
DataformでPythonする / dataform-de-python
snhryt
0
160
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
3
800
[DevinMeetupTokyo2025] コード書かせないDevinの使い方
takumiyoshikawa
2
270
The State of Fluid (2025)
s2b
0
100
Go製CLIツールをnpmで配布するには
syumai
2
1.1k
AI Ramen Fight
yusukebe
0
130
11年かかって やっとVibe Codingに 時代が追いつきましたね
yimajo
1
250
Flutter로 Gemini와 MCP를 활용한 Agentic App 만들기 - 박제창 2025 I/O Extended Seoul
itsmedreamwalker
0
130
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
8
580
CEDEC2025 長期運営ゲームをあと10年続けるための0から始める自動テスト ~4000項目を50%自動化し、月1→毎日実行にした3年間~
akatsukigames_tech
0
110
iOS開発スターターキットの作り方
akidon0000
0
240
STUNMESH-go: Wireguard NAT穿隧工具的源起與介紹
tjjh89017
0
280
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
A Tale of Four Properties
chriscoyier
160
23k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
880
Gamification - CAS2011
davidbonilla
81
5.4k
Git: the NoSQL Database
bkeepers
PRO
431
65k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Producing Creativity
orderedlist
PRO
347
40k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
RailsConf 2023
tenderlove
30
1.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Typedesign – Prime Four
hannesfritz
42
2.7k
Transcript
Izel Nakri Software Developer - GUTS Tickets Server-side rendering with
FastBoot 1
at least for production 1. Remove CORS 2
3
2. Package diet (aka don't be lazy) Bower > ember-cli-*frontendlib*
(unfortunately) no app.import() support for npm in ember-cli 4
5
3. Watch your `window` and `document` - localStorage - custom
AJAX calls - component hooks - frontend libraries - ember-cli-browserify 6
4. fetch() caveats + fetch-mock 7
8
5. PM2 + fastboot- express-middleware Auto-restart / crash recovery logging
solution Cluster mode Monitoring resources + stats 9
$ node fastboot.js 10
6. najax story Fastboot is still alpha 11
7. Ember routing model + RSVP.hash() 12
13
8. SEO Tags Meta tags have to be dynamic Social
media tags Domain/locale awareness 14
head.hbs 15
16
9. n+1 requests 1. links reference 2. coalasceFindRequests 3. embedding
17
10. Embed everything! 18
19
20
11. Testing with embeds 21
11. Testing with embeds mirage/serializers/user.js : 22
mirage/serializers/person.js: mirage/serializers/users.js: 23
24 https://gist.github.com/izelnakri/ 7a171ae7d639dbcf50255a2af51fe509 mirage/config.js:
12. Authentication with FastBoot (very hard problem) 25 this.get('fastboot.request.cookies') this.get('fastboot.request.headers')
ETags! (WIP)
Questions? Thanks Izel Nakri 26