SlideShare a Scribd company logo
1 of 43
Download to read offline
Blazing fast web
experience at your
fingertips with Experience
Edge, JSS for Next.js and
Vercel
By Varun Nehra
#sugcon
Varun Nehra
• SVP of Digital Solutions
• Almost a decade of Sitecore
experience
• Sitecore Technology MVP
• 100+ Sitecore client
engagements
• Lives in Atlanta
Topics
1. Fundamentals of Jamstack
2. Pre-rendering concepts SSG, SSR and ISR
3. Steps to build and deploy a Jamstack app using
Experience Edge, JSS Next.js, Vercel
But first, let’s talk performance
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
TTFB, FCP
So, what is Jamstack?
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
What is Jamstack?
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
What is Jamstack?
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Its not a technology stack
Its not a platform
Its not a framework
Its an architecture approach centered around 2 concepts
1. Pre-rendering
2. Decoupling
Its purpose is to make web faster, more secure and easier to scale.
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
How is this architecture different?
10
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Btw, Headless Jamstack
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
The stack has many flavors
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Too many options…
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
The Stack
Introducing pre-rendering
concepts
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Server-Side Rendering (SSR)
Fetch data on every request
CSR & SSR
16
Client-Side Rendering (CSR)
Entire website is rendered in
the browser using JS
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Incremental Site Regeneration (ISR)
Create or update static pages
after you've built your site
It’s all about pre-rendering
17
Static Site Generation (SSG)
Fetch data at build time and
pre render dynamic routes
based on data
” –
We are moving from writing and
managing DLLs to writing and
managing APIs
Dave O’Flanagan, Chief Product Officer, Sitecore
Jamstack with Experience Edge,
JSS Next.js
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
J
A
M
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
JSS Next.js + Experience Edge
3 phases of getting started
Configure, Develop, Deploy
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
1. Subscribe and configure Sitecore Experience Edge
2. Pick a development workflow (code-first, Sitecore-first)
& install appropriate template
3. Scaffold Next.js component, wire it up for Experience
Editor
4. Deploy using Vercel
Here are the steps
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
1. A valid Sitecore license file and Sitecore Experience Edge
subscription
2. Latest LTS version of Node.js
3. Sitecore 10.1 or higher
4. Windows PowerShell 5.1. PowerShell 7 is not supported at this
time.
5. .NET Core 3.1 SDK.
6. .NET Framework 4.8 SDK.
7. Docker for Windows, with Windows Containers enabled.
Before you get started with Sitecore-first
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
1. Subscribe to Sitecore Experience Edge tenant
2. Create API Keys and test queries for Delivery & Preview
APIs
3. Download and install experience edge connector for XM
package
Step 1 Configuring Experience Edge for XM
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
1. Configure authorization credentials in ConnectionStrings.config
2. Create patch files for
§ Experience Edge API endpoint
§ Experience Edge CDN URI
§ Experience Edge CDN media prefix
§ Configure Solr index core (sitecore_experienceedge_index)
3. Create Publishing target
4. Update and export publishing manifest
5. Rebuild Solr index
6. Enable item level and field level language fallback
7. Configure API fault handling
Step 1 - Configure Experience Edge Connector
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
• Install Sitecore Containers template for JSS Next.js
(nuget sitecore.nextjs.gettingstarted)
§ Includes docker compose for XP0
§ Jss create and jss deploy for JSS Next.js app
§ Sitecore Content Serialization
§ MSBuild for CM deployment (code & config)
§ Initialization script (created project solution)
Step 1 - Configure Dev environment
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Step 1 - Complete
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
• Create data template
• Create JSON rendering (for layout service)
• Setup datasource fields (optionally GraphQL query for
datasource or Rendering Contents Resolver)
• Scaffold a new component (jss scaffold) (src/rendering
folder)
Step 2 – Develop
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Step 3 – Deploy using Vercel
• Create a project on GitHub (GitLab, BitBucket)
• Log into Vercel and run Import Project wizard
• Select Next.js app from srcrendering folder
• Create 3 environment variables
• Sitecore_API_KEY
• Sitecore_API_HOST
• JSS_EDITING_SECRET
• Click Deploy
Btw, there is a path to convert
MVC to Jamstack with JSS Next.js
I am a proud community member! Please contact me on the following
handles:
sitecorechat.slack.com twitter sitecore.stackexchange.com
Thank you!
@varun.nehra @sitecorevarun Varun.nehra
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
• https://www.youtube.com/watch?v=ugPy7BjH0H0
Resources
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
• https://youtu.be/s_F5hoNsvOo
Resources
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
• https://dev.to/svdoever/nextjs-on-azure-with-sitecore-jss-
3hjk - Serge van den Oever (Sitecore MVP)
Resources
sitecore.com/ukrainefund
Thank you!
Or initiate new sections
from the right
Kick off specific subjects
within your presentation
with these section slides.
Or emphasize with this bold
headline if you want..
” –
Quote somebody on their
brilliance as everybody in our
community deserves a best
friend!
Akshay Sura
• Please insert a background image
that suits your presentation,
or leave it empty.
© 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/
Each presentation must end with the following three
slides. As the conference is a from-the-community-for-the-
community event we find it important that you share your
social channels you feel comfortable with, mainly the Slack
channel and Twitter.
Also, we couldn’t organize this event without our
community sponsors. Please leave them at the end of your
slide deck.
Please don’t change the following 3 slides
I am a proud community member! Please contact me on the following
handles:
sitecorechat.slack.com twitter sitecore.stackexchange.com
Questions
@varun.nehra @sitecorevarun Varun.nehra
I am a proud community member!
Please contact me on the following handles:
sitecorechat.slack.com twitter
This list of sponsors is yet to be
finalized and will be added
when they are fully confirmed.
A new version of this slide
template will be delivered to you
later and a quick swap of this
slide is the only task left.
Thank you!

More Related Content

Similar to Blazing fast web experience at your fingertips with Experience Edge, JSS for Next.js and Vercel

SUGCON ANZ 2022 Sitecore Personalize Technical.pptx
SUGCON ANZ 2022 Sitecore Personalize Technical.pptxSUGCON ANZ 2022 Sitecore Personalize Technical.pptx
SUGCON ANZ 2022 Sitecore Personalize Technical.pptxJitendra Soni
 
Creating websites with SXA in 15 minutes
Creating websites with SXA in 15 minutesCreating websites with SXA in 15 minutes
Creating websites with SXA in 15 minutesGert Gullentops
 
Experience Edge at Scale: Implementing the Sitecore Composable Stack
Experience Edge at Scale: Implementing the Sitecore Composable StackExperience Edge at Scale: Implementing the Sitecore Composable Stack
Experience Edge at Scale: Implementing the Sitecore Composable StackJeffrey Rondeau
 
SUGCON EU 2023 - Secure Composable SaaS.pptx
SUGCON EU 2023 - Secure Composable SaaS.pptxSUGCON EU 2023 - Secure Composable SaaS.pptx
SUGCON EU 2023 - Secure Composable SaaS.pptxVasiliy Fomichev
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 WorkshopDavid Manock
 
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...Edge AI and Vision Alliance
 
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Lucas Jellema
 
Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891
Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891
Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891Cisco DevNet
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024Cloud Native NoVA
 
Headless CMS. Sitecore JSS getting started, tips and tricks
Headless CMS. Sitecore JSS getting started, tips and tricksHeadless CMS. Sitecore JSS getting started, tips and tricks
Headless CMS. Sitecore JSS getting started, tips and tricksArtsem Prashkovich
 
Front End Development for Back End Developers - Devoxx UK 2017
 Front End Development for Back End Developers - Devoxx UK 2017 Front End Development for Back End Developers - Devoxx UK 2017
Front End Development for Back End Developers - Devoxx UK 2017Matt Raible
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynotegoodfriday
 
DevNetCreate Workshop - build a react app - React crash course
DevNetCreate Workshop - build a react app - React crash courseDevNetCreate Workshop - build a react app - React crash course
DevNetCreate Workshop - build a react app - React crash courseCisco DevNet
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynotegoodfriday
 
Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10
Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10
Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10Jitendra Soni
 
70-413 Study Guide PDF
70-413 Study Guide PDF70-413 Study Guide PDF
70-413 Study Guide PDFcupigiat
 
Best of barcelona symposium experience
Best of barcelona symposium experienceBest of barcelona symposium experience
Best of barcelona symposium experienceThe Reference
 
Building a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger HuntBuilding a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger HuntAshley Roach
 

Similar to Blazing fast web experience at your fingertips with Experience Edge, JSS for Next.js and Vercel (20)

Sug bangalore - headless jss
Sug bangalore - headless jssSug bangalore - headless jss
Sug bangalore - headless jss
 
SUGCON ANZ 2022 Sitecore Personalize Technical.pptx
SUGCON ANZ 2022 Sitecore Personalize Technical.pptxSUGCON ANZ 2022 Sitecore Personalize Technical.pptx
SUGCON ANZ 2022 Sitecore Personalize Technical.pptx
 
Creating websites with SXA in 15 minutes
Creating websites with SXA in 15 minutesCreating websites with SXA in 15 minutes
Creating websites with SXA in 15 minutes
 
Experience Edge at Scale: Implementing the Sitecore Composable Stack
Experience Edge at Scale: Implementing the Sitecore Composable StackExperience Edge at Scale: Implementing the Sitecore Composable Stack
Experience Edge at Scale: Implementing the Sitecore Composable Stack
 
SUGCON EU 2023 - Secure Composable SaaS.pptx
SUGCON EU 2023 - Secure Composable SaaS.pptxSUGCON EU 2023 - Secure Composable SaaS.pptx
SUGCON EU 2023 - Secure Composable SaaS.pptx
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
 
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
 
Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891
Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891
Webex Teams Widgets Technical Drill down - Cisco Live Orlando 2018 - DEVNET-3891
 
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
A Love Story with Kubevirt and Backstage from Cloud Native NoVA meetup Feb 2024
 
Headless CMS. Sitecore JSS getting started, tips and tricks
Headless CMS. Sitecore JSS getting started, tips and tricksHeadless CMS. Sitecore JSS getting started, tips and tricks
Headless CMS. Sitecore JSS getting started, tips and tricks
 
Front End Development for Back End Developers - Devoxx UK 2017
 Front End Development for Back End Developers - Devoxx UK 2017 Front End Development for Back End Developers - Devoxx UK 2017
Front End Development for Back End Developers - Devoxx UK 2017
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynote
 
DevNetCreate Workshop - build a react app - React crash course
DevNetCreate Workshop - build a react app - React crash courseDevNetCreate Workshop - build a react app - React crash course
DevNetCreate Workshop - build a react app - React crash course
 
Day One Keynote
Day One KeynoteDay One Keynote
Day One Keynote
 
Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10
Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10
Sitecore 10 - ASP.NET Core Rendering with Docker and Sitecore 10
 
70-413 Study Guide PDF
70-413 Study Guide PDF70-413 Study Guide PDF
70-413 Study Guide PDF
 
Best of barcelona symposium experience
Best of barcelona symposium experienceBest of barcelona symposium experience
Best of barcelona symposium experience
 
Building a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger HuntBuilding a REST API Microservice for the DevNet API Scavenger Hunt
Building a REST API Microservice for the DevNet API Scavenger Hunt
 

More from VarunNehra

Sitecore Product Updates from Minneapolis DX Summit
Sitecore Product Updates from Minneapolis DX SummitSitecore Product Updates from Minneapolis DX Summit
Sitecore Product Updates from Minneapolis DX SummitVarunNehra
 
OneWeb: Unifying multi-brand experience management and digital operations wit...
OneWeb: Unifying multi-brand experience management and digital operations wit...OneWeb: Unifying multi-brand experience management and digital operations wit...
OneWeb: Unifying multi-brand experience management and digital operations wit...VarunNehra
 
Migrating from Azure Search to SearcStax
Migrating from Azure Search to SearcStaxMigrating from Azure Search to SearcStax
Migrating from Azure Search to SearcStaxVarunNehra
 
Get ready for Jamstack with Sitecore Experience Edge
Get ready for Jamstack with Sitecore Experience EdgeGet ready for Jamstack with Sitecore Experience Edge
Get ready for Jamstack with Sitecore Experience EdgeVarunNehra
 
Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)
Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)
Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)VarunNehra
 
Enterprise Marketplace Powered by Sitecore Experience Cloud
Enterprise Marketplace Powered by Sitecore Experience CloudEnterprise Marketplace Powered by Sitecore Experience Cloud
Enterprise Marketplace Powered by Sitecore Experience CloudVarunNehra
 
Sitecore: Session recommendation engine
Sitecore: Session recommendation engineSitecore: Session recommendation engine
Sitecore: Session recommendation engineVarunNehra
 
Accelerating Time To Market with Sitecore & Helix
Accelerating Time To Market with Sitecore & HelixAccelerating Time To Market with Sitecore & Helix
Accelerating Time To Market with Sitecore & HelixVarunNehra
 
Marketing personalized at scale sitecore + sfmc = success final final
Marketing personalized at scale sitecore + sfmc = success final finalMarketing personalized at scale sitecore + sfmc = success final final
Marketing personalized at scale sitecore + sfmc = success final finalVarunNehra
 

More from VarunNehra (9)

Sitecore Product Updates from Minneapolis DX Summit
Sitecore Product Updates from Minneapolis DX SummitSitecore Product Updates from Minneapolis DX Summit
Sitecore Product Updates from Minneapolis DX Summit
 
OneWeb: Unifying multi-brand experience management and digital operations wit...
OneWeb: Unifying multi-brand experience management and digital operations wit...OneWeb: Unifying multi-brand experience management and digital operations wit...
OneWeb: Unifying multi-brand experience management and digital operations wit...
 
Migrating from Azure Search to SearcStax
Migrating from Azure Search to SearcStaxMigrating from Azure Search to SearcStax
Migrating from Azure Search to SearcStax
 
Get ready for Jamstack with Sitecore Experience Edge
Get ready for Jamstack with Sitecore Experience EdgeGet ready for Jamstack with Sitecore Experience Edge
Get ready for Jamstack with Sitecore Experience Edge
 
Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)
Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)
Sitecore Experience Edge, A short story (Intro to Sitecore Experience Edge)
 
Enterprise Marketplace Powered by Sitecore Experience Cloud
Enterprise Marketplace Powered by Sitecore Experience CloudEnterprise Marketplace Powered by Sitecore Experience Cloud
Enterprise Marketplace Powered by Sitecore Experience Cloud
 
Sitecore: Session recommendation engine
Sitecore: Session recommendation engineSitecore: Session recommendation engine
Sitecore: Session recommendation engine
 
Accelerating Time To Market with Sitecore & Helix
Accelerating Time To Market with Sitecore & HelixAccelerating Time To Market with Sitecore & Helix
Accelerating Time To Market with Sitecore & Helix
 
Marketing personalized at scale sitecore + sfmc = success final final
Marketing personalized at scale sitecore + sfmc = success final finalMarketing personalized at scale sitecore + sfmc = success final final
Marketing personalized at scale sitecore + sfmc = success final final
 

Recently uploaded

Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 

Blazing fast web experience at your fingertips with Experience Edge, JSS for Next.js and Vercel

  • 1. Blazing fast web experience at your fingertips with Experience Edge, JSS for Next.js and Vercel By Varun Nehra #sugcon
  • 2. Varun Nehra • SVP of Digital Solutions • Almost a decade of Sitecore experience • Sitecore Technology MVP • 100+ Sitecore client engagements • Lives in Atlanta
  • 3. Topics 1. Fundamentals of Jamstack 2. Pre-rendering concepts SSG, SSR and ISR 3. Steps to build and deploy a Jamstack app using Experience Edge, JSS Next.js, Vercel
  • 4. But first, let’s talk performance
  • 5. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ TTFB, FCP
  • 6. So, what is Jamstack?
  • 7. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ What is Jamstack?
  • 8. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ What is Jamstack?
  • 9. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Its not a technology stack Its not a platform Its not a framework Its an architecture approach centered around 2 concepts 1. Pre-rendering 2. Decoupling Its purpose is to make web faster, more secure and easier to scale.
  • 10. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ How is this architecture different? 10
  • 11. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Btw, Headless Jamstack
  • 12. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ The stack has many flavors
  • 13. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Too many options…
  • 14. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ The Stack
  • 16. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Server-Side Rendering (SSR) Fetch data on every request CSR & SSR 16 Client-Side Rendering (CSR) Entire website is rendered in the browser using JS
  • 17. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Incremental Site Regeneration (ISR) Create or update static pages after you've built your site It’s all about pre-rendering 17 Static Site Generation (SSG) Fetch data at build time and pre render dynamic routes based on data
  • 18. ” – We are moving from writing and managing DLLs to writing and managing APIs Dave O’Flanagan, Chief Product Officer, Sitecore
  • 19. Jamstack with Experience Edge, JSS Next.js
  • 20. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ J A M
  • 21. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ JSS Next.js + Experience Edge
  • 22. 3 phases of getting started Configure, Develop, Deploy
  • 23. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ 1. Subscribe and configure Sitecore Experience Edge 2. Pick a development workflow (code-first, Sitecore-first) & install appropriate template 3. Scaffold Next.js component, wire it up for Experience Editor 4. Deploy using Vercel Here are the steps
  • 24. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ 1. A valid Sitecore license file and Sitecore Experience Edge subscription 2. Latest LTS version of Node.js 3. Sitecore 10.1 or higher 4. Windows PowerShell 5.1. PowerShell 7 is not supported at this time. 5. .NET Core 3.1 SDK. 6. .NET Framework 4.8 SDK. 7. Docker for Windows, with Windows Containers enabled. Before you get started with Sitecore-first
  • 25. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ 1. Subscribe to Sitecore Experience Edge tenant 2. Create API Keys and test queries for Delivery & Preview APIs 3. Download and install experience edge connector for XM package Step 1 Configuring Experience Edge for XM
  • 26. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ 1. Configure authorization credentials in ConnectionStrings.config 2. Create patch files for § Experience Edge API endpoint § Experience Edge CDN URI § Experience Edge CDN media prefix § Configure Solr index core (sitecore_experienceedge_index) 3. Create Publishing target 4. Update and export publishing manifest 5. Rebuild Solr index 6. Enable item level and field level language fallback 7. Configure API fault handling Step 1 - Configure Experience Edge Connector
  • 27. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ • Install Sitecore Containers template for JSS Next.js (nuget sitecore.nextjs.gettingstarted) § Includes docker compose for XP0 § Jss create and jss deploy for JSS Next.js app § Sitecore Content Serialization § MSBuild for CM deployment (code & config) § Initialization script (created project solution) Step 1 - Configure Dev environment
  • 28. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Step 1 - Complete
  • 29. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ • Create data template • Create JSON rendering (for layout service) • Setup datasource fields (optionally GraphQL query for datasource or Rendering Contents Resolver) • Scaffold a new component (jss scaffold) (src/rendering folder) Step 2 – Develop
  • 30. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Step 3 – Deploy using Vercel • Create a project on GitHub (GitLab, BitBucket) • Log into Vercel and run Import Project wizard • Select Next.js app from srcrendering folder • Create 3 environment variables • Sitecore_API_KEY • Sitecore_API_HOST • JSS_EDITING_SECRET • Click Deploy
  • 31. Btw, there is a path to convert MVC to Jamstack with JSS Next.js
  • 32. I am a proud community member! Please contact me on the following handles: sitecorechat.slack.com twitter sitecore.stackexchange.com Thank you! @varun.nehra @sitecorevarun Varun.nehra
  • 33. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ • https://www.youtube.com/watch?v=ugPy7BjH0H0 Resources
  • 34. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ • https://youtu.be/s_F5hoNsvOo Resources
  • 35. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ • https://dev.to/svdoever/nextjs-on-azure-with-sitecore-jss- 3hjk - Serge van den Oever (Sitecore MVP) Resources
  • 37. Or initiate new sections from the right Kick off specific subjects within your presentation with these section slides.
  • 38. Or emphasize with this bold headline if you want..
  • 39. ” – Quote somebody on their brilliance as everybody in our community deserves a best friend! Akshay Sura
  • 40. • Please insert a background image that suits your presentation, or leave it empty. © 2022 Sitecore User Group Conference Europe and its respective speakers. All rights reserved. https://europe.sugcon.events/ Each presentation must end with the following three slides. As the conference is a from-the-community-for-the- community event we find it important that you share your social channels you feel comfortable with, mainly the Slack channel and Twitter. Also, we couldn’t organize this event without our community sponsors. Please leave them at the end of your slide deck. Please don’t change the following 3 slides
  • 41. I am a proud community member! Please contact me on the following handles: sitecorechat.slack.com twitter sitecore.stackexchange.com Questions @varun.nehra @sitecorevarun Varun.nehra
  • 42. I am a proud community member! Please contact me on the following handles: sitecorechat.slack.com twitter
  • 43. This list of sponsors is yet to be finalized and will be added when they are fully confirmed. A new version of this slide template will be delivered to you later and a quick swap of this slide is the only task left. Thank you!