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
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Discoveries when doing server-side rendering with Ember FastBoot
Izel Nakri
April 25, 2017
Other Decks in Programming
See All in Programming
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
270
初めてのKubernetes 本番運用でハマった話
oku053
0
130
act2-costs.pdf
sumedhbala
0
110
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
130
どこまでゆるくて許されるのか
tk3fftk
0
490
symfony/aiとlaravel/boost
77web
0
130
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
210
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.9k
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
2
450
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
140
yield再入門 #phpcon
o0h
PRO
0
340
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Design in an AI World
tapps
1
260
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
Making Projects Easy
brettharned
120
6.7k
Code Reviewing Like a Champion
maltzj
528
40k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Practical Orchestrator
shlominoach
191
11k
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