SlideShare a Scribd company logo
Modern Web Architecture
based on JS, API and
Markup
Ladislav Prskavec
jsDevMeetup
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 1
About me
4 Site Reliability Engineer (SRE)
4 https://keybase.io/abtris
4 https://blog.prskavec.net
4 @abtris
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 2
J
A
M
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 3
Javascript
A
M
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 4
Javascript
API
M
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 5
Javascript
API
Markup
Ladislav Prskavec - jsDevMeetup, 10.4. 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 https://www.staticgen.com/
Ladislav Prskavec - jsDevMeetup, 10.4. 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 - jsDevMeetup, 10.4. 2018 9
ShowCase
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 10
4 https://support.1password.com/
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 11
4 https://letsencrypt.org/, source: https://github.com/letsencrypt/website
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 12
4 https://www.smashingmagazine.com/, source: smashing-magazine-just-got-10x-faster
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 13
4 https://reactjs.org/
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 14
4 https://mozilladevelopers.github.io/playground/
Ladislav Prskavec - jsDevMeetup, 10.4. 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
Ladislav Prskavec - jsDevMeetup, 10.4. 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 - jsDevMeetup, 10.4. 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 - jsDevMeetup, 10.4. 2018 18
When is your site not built
with the JAMstack?
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 19
Why the JAMstack?
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 20
Why the JAMstack?
4 Better Performance
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 21
Why the JAMstack?
4 Better Performance
4 Cheaper, Easier Scaling
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 22
Why the JAMstack?
4 Better Performance
4 Cheaper, Easier Scaling
4 Higher Security
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 23
Why the JAMstack?
4 Better Performance
4 Cheaper, Easier Scaling
4 Higher Security
4 Better Developer Experience (DX)
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 24
JAMstack
4 https://jamstack.org/
Podcast - Jamstack Radio
4 https://www.heavybit.com/library/podcasts/
jamstack-radio/
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 25
Gatsby.js
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 26
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 27
Install (Node.js >8)
$ npm install --global gatsby-cli gatsby-generator
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 28
Select starter project
$ gatsby-generator
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 29
Develop
$ gatsby develop
4 you get local preview with hot reload
4 you get graphql playground for queries
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 30
Big CMS as API
Ladislav Prskavec - jsDevMeetup, 10.4. 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 - jsDevMeetup, 10.4. 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 - jsDevMeetup, 10.4. 2018 33
Plugins
4 https://www.gatsby js.org/plugins/#official-plugins
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 34
DEMO
https://jamstack.166.cz/
https://gatsby.166.cz/
Ladislav Prskavec - jsDevMeetup, 10.4. 2018 35
Thanks
Questions?
Ladislav Prskavec - jsDevMeetup, 10.4. 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 - jsDevMeetup, 10.4. 2018 37

More Related Content

Similar to Modern Web Architecture<br>based on JS, API and Markup (20)

PDF
Modern Static Site with GatsbyJS
Riza Fahmi
 
PDF
Building a dynamic application with GatsbyJS-Tec-Mexicali
Jesus Manuel Olivas
 
PDF
The Jamstack Revolution: Building Dynamic Websites with Static Site Generator...
Softradix Technologies
 
PPTX
Gatsby intro
Ben McCormick
 
PPTX
The Future Is The Cloud
Gatsbyjs
 
PDF
Static Websites - The Final Frontier
Juho Vepsäläinen
 
DOCX
Website development tools
Sovereign software solution
 
PDF
Bringing JAMStack to the Enterprise
C4Media
 
PDF
Selecting the Best Javascript Web Framework
Rajitha Pathiraja
 
PDF
Build static websites with Gatsby.JS
Mateusz Sawka
 
PPTX
Node.js Web Apps @ ebay scale
Dmytro Semenov
 
PPTX
Introduction To Gatsbyjs
Syed Qasim Rizvi
 
PDF
Gatsby vs. Next.js
Borek Bernard
 
PDF
Top front end website development tools and frameworks
Sovereign software solution
 
PDF
Modern Web Framework : Play framework
Suman Adak
 
PDF
Structured web apps
Sheng Tian
 
PDF
Pump up the JAM with Gatsby
Stefan Adolf
 
PDF
Top 8 react static site generators for 2020
Katy Slemon
 
PDF
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
FITC
 
PDF
2015: A static site generator odyssey
Olga Skurativska
 
Modern Static Site with GatsbyJS
Riza Fahmi
 
Building a dynamic application with GatsbyJS-Tec-Mexicali
Jesus Manuel Olivas
 
The Jamstack Revolution: Building Dynamic Websites with Static Site Generator...
Softradix Technologies
 
Gatsby intro
Ben McCormick
 
The Future Is The Cloud
Gatsbyjs
 
Static Websites - The Final Frontier
Juho Vepsäläinen
 
Website development tools
Sovereign software solution
 
Bringing JAMStack to the Enterprise
C4Media
 
Selecting the Best Javascript Web Framework
Rajitha Pathiraja
 
Build static websites with Gatsby.JS
Mateusz Sawka
 
Node.js Web Apps @ ebay scale
Dmytro Semenov
 
Introduction To Gatsbyjs
Syed Qasim Rizvi
 
Gatsby vs. Next.js
Borek Bernard
 
Top front end website development tools and frameworks
Sovereign software solution
 
Modern Web Framework : Play framework
Suman Adak
 
Structured web apps
Sheng Tian
 
Pump up the JAM with Gatsby
Stefan Adolf
 
Top 8 react static site generators for 2020
Katy Slemon
 
Building Enterprise Grade Front-End Applications with JavaScript Frameworks
FITC
 
2015: A static site generator odyssey
Olga Skurativska
 

More from Ladislav Prskavec (20)

PDF
SRE in Apiary
Ladislav Prskavec
 
PDF
SRE in Startup
Ladislav Prskavec
 
PDF
CI and CD
Ladislav Prskavec
 
PDF
Datascript: Serverless Architetecture
Ladislav Prskavec
 
PDF
Serverless Architecture
Ladislav Prskavec
 
PDF
CI and CD
Ladislav Prskavec
 
PDF
PragueJS meetups 30th anniversary
Ladislav Prskavec
 
PDF
How to easy deploy app into any cloud
Ladislav Prskavec
 
PDF
Docker - modern platform for developement and operations
Ladislav Prskavec
 
PDF
GDGSCL - Docker a jeho provoz v Heroku a AWS
Ladislav Prskavec
 
PDF
AWS Elastic Container Service
Ladislav Prskavec
 
PDF
Comparison nodejs frameworks using Polls API
Ladislav Prskavec
 
PDF
Docker Elastic Beanstalk
Ladislav Prskavec
 
PDF
Docker včera, dnes a zítra
Ladislav Prskavec
 
PDF
Tessel is a microcontroller that runs JavaScript.
Ladislav Prskavec
 
PDF
Docker.io
Ladislav Prskavec
 
PDF
Docker.io
Ladislav Prskavec
 
PDF
AngularJS
Ladislav Prskavec
 
PDF
Firebase and AngularJS
Ladislav Prskavec
 
PDF
AngularJS at PyVo
Ladislav Prskavec
 
SRE in Apiary
Ladislav Prskavec
 
SRE in Startup
Ladislav Prskavec
 
Datascript: Serverless Architetecture
Ladislav Prskavec
 
Serverless Architecture
Ladislav Prskavec
 
PragueJS meetups 30th anniversary
Ladislav Prskavec
 
How to easy deploy app into any cloud
Ladislav Prskavec
 
Docker - modern platform for developement and operations
Ladislav Prskavec
 
GDGSCL - Docker a jeho provoz v Heroku a AWS
Ladislav Prskavec
 
AWS Elastic Container Service
Ladislav Prskavec
 
Comparison nodejs frameworks using Polls API
Ladislav Prskavec
 
Docker Elastic Beanstalk
Ladislav Prskavec
 
Docker včera, dnes a zítra
Ladislav Prskavec
 
Tessel is a microcontroller that runs JavaScript.
Ladislav Prskavec
 
Firebase and AngularJS
Ladislav Prskavec
 
AngularJS at PyVo
Ladislav Prskavec
 
Ad

Recently uploaded (20)

PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
July Patch Tuesday
Ivanti
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Ad

Modern Web Architecture<br>based on JS, API and Markup