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
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
Fluid Templating in TYPO3 14
s2b
0
130
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
Data-Centric Kaggle
isax1015
2
780
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
200
AI巻き込み型コードレビューのススメ
nealle
2
420
Architectural Extensions
denyspoltorak
0
290
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Unsuck your backbone
ammeep
671
58k
Bash Introduction
62gerente
615
210k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Design in an AI World
tapps
0
140
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
ラッコキーワード サービス紹介資料
rakko
1
2.3M
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
100
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
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