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
JamStack PoSobota 29.9.2018
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ladislav Prskavec
September 29, 2018
Technology
230
0
Share
JamStack PoSobota 29.9.2018
Modern Web Architecturebased on JS, API and Markup #poSobota
Ladislav Prskavec
September 29, 2018
More Decks by Ladislav Prskavec
See All by Ladislav Prskavec
From Small Terraform Projects to Terralith
abtris
0
94
Build nice terminal UI with Bubble Tea
abtris
1
330
How to make own observability solution?
abtris
0
240
OpenTelemetry as best way how to instrument your CICD pipeline
abtris
0
300
Prague Go Meetup #12 Introductions
abtris
0
76
How we run stateful services for customers in Kubernetes
abtris
0
420
Go Release 1.20
abtris
0
230
CI pipelines should be code! Dagger Go SDK
abtris
1
380
Getting started with fuzzing
abtris
0
350
Other Decks in Technology
See All in Technology
Claude Code / Codex / Kiro に AWS 権限を 渡すとき、何を設計すべきか
k_adachi_01
5
1.3k
そのSLO 99.9%、本当に必要ですか? 〜優先度付きSLOによる責任共有の設計思想〜 / Is that 99.9% SLO really necessary? Design philosophy of shared responsibility through prioritized SLOs
vtryo
0
660
知ってた?JavaScriptの"正しさ"を検証するテストが5万以上もあること(Test262)
riyaamemiya
1
190
Every Conversation Counts
kawaguti
PRO
0
220
世界の中心でApp Runnerを叫ぶ FINAL
tsukuboshi
0
260
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
5
1.3k
PdM・Eng・QAで進めるAI駆動開発の現在地/aidd-with-pdm-eng-qa
shota_kusaba
0
220
Tachikawa.any 運営挨拶
daitasu
0
170
ESP32 IoTを動かしながらメモリ使用量を観測してみた話
zozotech
PRO
0
110
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.6k
20260513_生成AIを専属DSに_AI分析結果の検品テクニック_ハンズオン_交通事故データ
doradora09
PRO
0
220
SLI/SLO、「完全に理解した」から「チョットデキル」へ
maruloop
5
440
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
Side Projects
sachag
455
43k
Writing Fast Ruby
sferik
630
63k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Discover your Explorer Soul
emna__ayadi
2
1.1k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
130
How to train your dragon (web standard)
notwaldorf
97
6.6k
Transcript
Modern Web Architecture based on JS, API and Markup Ladislav
Prskavec Ladislav Prskavec - poSobota, 29. 9. 2018 1
About me 4 Site Reliability Engineer (SRE) 4 https://keybase.io/abtris 4
https://blog.prskavec.net 4 @abtris Ladislav Prskavec - poSobota, 29. 9. 2018 2
J A M Ladislav Prskavec - poSobota, 29. 9. 2018
3
Javascript A M Ladislav Prskavec - poSobota, 29. 9. 2018
4
Javascript API M Ladislav Prskavec - poSobota, 29. 9. 2018
5
Javascript API Markup Ladislav Prskavec - poSobota, 29. 9. 2018
6
7
Static Site Generators 4 Jekyll (Ruby) 4 Middleman (Ruby, Rails
based) 4 Hugo (Golang) 4 Spike (JS, Webpack based) 4 Gatsby.js (JS, React.JS based) 4 Sculpin, Jigsaw (PHP) 4 https://www.staticgen.com/ Ladislav Prskavec - poSobota, 29. 9. 2018 8
Themes for static generators 4 templating depends on technology 4
200 themes in https://themes.gohugo.io/ 4 commercial in https://themeforest.net/.../jekyll 4 Sites build with Gatsby.js Ladislav Prskavec - poSobota, 29. 9. 2018 9
ShowCase Ladislav Prskavec - poSobota, 29. 9. 2018 10
4 https://support.1password.com/ Ladislav Prskavec - poSobota, 29. 9. 2018 11
4 https://letsencrypt.org/, source: https://github.com/letsencrypt/website Ladislav Prskavec - poSobota, 29. 9.
2018 12
4 https://www.smashingmagazine.com/, source: smashing-magazine-just-got-10x-faster Ladislav Prskavec - poSobota, 29. 9.
2018 13
4 https://reactjs.org/ Ladislav Prskavec - poSobota, 29. 9. 2018 14
4 https://mozilladevelopers.github.io/playground/ Ladislav Prskavec - poSobota, 29. 9. 2018 15
APIs 4 Smashingmagazine - post about that 4 Comments -
GoTell, Disqus, IntenseDebate, isso 4 Search - Algolia 4 Payments - GoJoin, Stripe 4 Auth - GoTrue, Auth0 4 E-commerce - GoCommerce, Snipcart 4 Images - Cloudinary 4 Lambda, GraphQL, Webtask.io - for yours serverless backends 4 CloudFlare worker, Lambda Edge - originless Ladislav Prskavec - poSobota, 29. 9. 2018 16
Headless CMS 4 Contentful - API based, hosted 4 NetlifyCMS
- Git based, hosted 4 strapi - API based, self-hosted 4 Forestry 4 https://headlesscms.org/ Ladislav Prskavec - poSobota, 29. 9. 2018 17
NetlifyCMS 4 Content management in a single-page app 4 Built
in React.js with extensible components 4 Integrate with any build tool 4 Plug in to any static site generator 4 www.netlifycms.org 4 Test it! Ladislav Prskavec - poSobota, 29. 9. 2018 18
When is your site not built with the JAMstack? Ladislav
Prskavec - poSobota, 29. 9. 2018 19
Why the JAMstack? Ladislav Prskavec - poSobota, 29. 9. 2018
20
Why the JAMstack? 4 Better Performance Ladislav Prskavec - poSobota,
29. 9. 2018 21
Why the JAMstack? 4 Better Performance 4 Cheaper, Easier Scaling
Ladislav Prskavec - poSobota, 29. 9. 2018 22
Why the JAMstack? 4 Better Performance 4 Cheaper, Easier Scaling
4 Higher Security Ladislav Prskavec - poSobota, 29. 9. 2018 23
Why the JAMstack? 4 Better Performance 4 Cheaper, Easier Scaling
4 Higher Security 4 Better Developer Experience (DX) Ladislav Prskavec - poSobota, 29. 9. 2018 24
JAMstack 4 https://jamstack.org/ Podcast - Jamstack Radio 4 https://www.heavybit.com/library/podcasts/ jamstack-radio/
Ladislav Prskavec - poSobota, 29. 9. 2018 25
Gatsby.js Ladislav Prskavec - poSobota, 29. 9. 2018 26
Ladislav Prskavec - poSobota, 29. 9. 2018 27
Install (Node.js >8) $ npm install --global gatsby-cli gatsby-generator Ladislav
Prskavec - poSobota, 29. 9. 2018 28
Select starter project $ gatsby-generator Ladislav Prskavec - poSobota, 29.
9. 2018 29
Develop $ gatsby develop 4 you get local preview with
hot reload 4 you get graphql playground for queries Ladislav Prskavec - poSobota, 29. 9. 2018 30
Big CMS as API Ladislav Prskavec - poSobota, 29. 9.
2018 31
Using Wordpress API 4 https://www.gatsby js.org/packages/gatsby-source- wordpress/ 4 https://developer.wordpress.org/rest-api/reference/ 4
https://using-wordpress.gatsby js.org/ 4 https://github.com/gatsby js/gatsby/tree/master/ examples/using-wordpress Ladislav Prskavec - poSobota, 29. 9. 2018 32
Using Drupal API A back end for your front end:
a content repository. Powered by Drupal 8, JSON API and OAuth2. - https://github.com/acquia/reservoir 4 https://www.drupal.org/project/jsonapi 4 https://www.gatsby js.org/packages/gatsby-source-drupal/ 4 https://using-drupal.gatsby js.org/ 4 https://github.com/gatsby js/gatsby/tree/master/examples/using- drupal Ladislav Prskavec - poSobota, 29. 9. 2018 33
Plugins 4 https://www.gatsby js.org/plugins/#official-plugins Ladislav Prskavec - poSobota, 29. 9.
2018 34
DEMO https://jamstack.166.cz/ https://gatsby.166.cz/ Ladislav Prskavec - poSobota, 29. 9. 2018
35
Thanks Questions? Ladislav Prskavec - poSobota, 29. 9. 2018 36
References 4 https://www.gatsby js.org/ 4 https://github.com/prayasht/awesome-gatsby 4 https://github.com/bntzio/gatsby-generator Ladislav Prskavec
- poSobota, 29. 9. 2018 37