$30 off During Our Annual Pro Sale. View Details »
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
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
420
AIコーディングエージェント(Gemini)
kondai24
0
200
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
260
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
390
AIコーディングエージェント(NotebookLM)
kondai24
0
170
認証・認可の基本を学ぼう後編
kouyuume
0
180
CSC509 Lecture 14
javiergs
PRO
0
220
認証・認可の基本を学ぼう前編
kouyuume
0
190
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.7k
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
490
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
6
300
Featured
See All Featured
Done Done
chrislema
186
16k
The Language of Interfaces
destraynor
162
25k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
A better future with KSS
kneath
240
18k
How to train your dragon (web standard)
notwaldorf
97
6.4k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Code Review Best Practice
trishagee
74
19k
Building Applications with DynamoDB
mza
96
6.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3k
4 Signs Your Business is Dying
shpigford
186
22k
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