SlideShare a Scribd company logo
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Peter Prochazka
tothecore.sk / @chorpo
From Hero to Zero
and back to Hero
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
https://tothecore.sk/
https://twitter.com/chorpo
http://goodreads.com/chorpo
https://linkedin.com/in/chorpo
Peter Procházka
Quick Intro
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
The Project
(Initial description)
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
The Project
• Brown field project
• Existing Sitecore sites – on Prem:
1. Public facing website
• Sitecore 8.0 with MVC
• Built 5 years ago
• Little bit of Angular
2. Microsite – Only for members – Platform 1.0
• Sitecore 8.0 with MVC
• Vue.js
• Build last year
• Our project – Platform 1.1 -> Azure
• Build a new public facing website on top of Platform 1.0 on top of Sitecore
9.3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprint 0
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Clash of the Titans
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore 10 Sitecore 9.3
Sitecore version
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
• Setting DevOps pipelines
• Creating one click deployments
• Following “Build once, deploy anywhere”
• Creating API
• to wrap third-party APIs
• hide implementation details
• increasing security
• Creating components, layouts, …
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprints 1 & 2
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprint 3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprint 3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprint 3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprint 3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sprint 4
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
The Design System
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Atomic Design
Atomic Design
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Atomic Design
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Atomic Design
• Book
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
HTML5 and CSS3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
HTML5
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
HTML5
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
CSS3
• Frameworks
• Vanilla CSS
• CSS Frameworks / UI Kits:
• Bootstrap
• Foundation
• Bulma
• Utility-first
• Tailwind
• Windi
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
CSS3
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript - Date
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript - hoisting
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript - hoisting
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript - npm
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JavaScript – Basic knowledge
• Data types, variables, loops, functions
• Global/local scope
• Array methods like forEach(), map() and reduce(); pop(), push(), slice()
• Promises & async programming
• Fetch API and how to make HTTP requests
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ECMAScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ECMAScript
• JavaScript -> ECMAScript
• ECMAScript:
• JavaScript
• ActionScript
• JScript
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ECMAScript
• ES1 – June 1997
• ES5 – December 2009
• ES5.1 – June 2011
• ES6 = ES2015 – June 2015
• ES2016
• ES2017
• ES2018
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ES6 – Let and const
• var
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ES6 - Let and const
• var
• var ->
• let
• const
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ES6 - Arrow functions
• const myFunction = function() { //.. }}
• const myFunction = () => { //..}
• const myFunction = () => doSomething()
• const myFunction = (param1, param2) => doSomething(param1,
param2)
• const myFunction = param => doSomething(param)
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ES6 - Arrow functions – Implicit return
• const myFunction = () => ‘Hello World’
• const myFunction = () => ({ value: ‘Hello World’ })
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ES6 - Classes
• JavaScript => Prototypical inheritance
• ES6 Classes
class Rectangle {
constructor(height, width) {
this.height = height;
this.width = width;
}
}
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
ES6 - Classes
• ES6 Class inheritance
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
• Key principles:
• Declarative
• Component-based
• Learn Once, Write Anywhere
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
• Virtual DOM
• DOM vs. Virtual DOM
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
• JSX
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
• React Official Documentation:
• https://reactjs.org/docs/hello-world.html
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
• Books
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
• Trainings
https://www.udacity.com/course/react-nanodegree--nd019
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
React
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS
• Sitecore JavaScript SDK (JSS) is a set of npm packages that enable
implementing Sitecore apps using modern JavaScript frameworks:
• Core packages that abstract away the "Sitecore stuff" like talking to
different Sitecore APIs,
• Framework-specific packages with components that render data managed
by the core packages, and
• Simple starter apps for every supported framework.
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Browser requests
URL
CMS founds
content, renders it
and serves HTML
Browser / client
displays rendered
HTML
Sitecore JSS – BE vs. FE - BE
SXA
Sitecore
ASP.NET
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
SXA
Sitecore JSS
React
Vanilla
JavaScript
Browser requests
content from CMS
API (Headless
Layout Service)
CMS finds content
and serves JSON
through API
Browser / client
creates markup
Layout
Services
Sitecore
ASP.NET
Sitecore JSS – BE vs. FE - FE
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JSS - Programming Styles
Code-First Sitecore-First
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
JSS - Modes
Integrated Connected
Disconnected
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – BE vs. FE - Tooling
• Visual Studio vs. Visual Studio Code
• VS Code is not mandatory ☺
• You can use anything – Notepad, Notepad++, Atom, … ;-)
• ESLint
• Prettier
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – Creating project
• Four commands you need to use when creating new project:
• npm install -g @sitecore-jss/sitecore-jss-cli
• jss create my-first-jss-app react
• cd my-first-jss-app
• jss start
• When working with not the latest Sitecore/JSS, you need to use
this command instead:
• jss create my-first-jss-app react -b release/13.0.0
• More details on my blog:
• https://tothecore.sk/2021/03/24/creating-version-specific-sitecore-jss-
projects/
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – Development
• Two commands you need to use during development:
• jss deploy app --includeContent --includeDictionary
• jss deploy items --language=de-DE --includeContent --includeDictionary
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – No environment specific configuration
• No OOTB support
• Sitecore Rule Based Configuration
• https://doc.sitecore.com/developers/93/platform-administration-and-
architecture/en/rule-based-configuration.html
• API – GetSettings
• More details:
• https://tothecore.sk/2021/04/26/how-to-have-environment-specific-configuration-
with-sitecore-jss/
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
• RTFM
• https://tothecore.sk/2020/08/28/sitecore-jss-learning-resources-getting-
started-with-jss
• Practice, Practice, Practice, …
Sitecore JSS – Learning resources
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – Yaml
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – Yaml
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – Yaml
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Sitecore JSS – Yaml
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
The Project
(final description)
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
The Project
• Green field project instead of Brown field
• Our project – Platform 1.1
• Using Sitecore JSS
• With React
• On Sitecore 9.3
• Following Atomic Design
• Possible next steps:
• Upgrade to Sitecore 10.1
• Using Next.js
• Using Storybook
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
“The more languages you know, the more of a person you are”.
My grandfather
“The more languages you know, the more of a developer you are”.
Me
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
SITECORE JSS LEARNING RESOURCES / GETTING STARTED WITH JSS
https://tothecore.sk/2020/08/28/sitecore-jss-learning-resources-
getting-started-with-jss
https://doc.sitecore.net/
https://sitecorechat.slack.com/
https://sitecore.stackexchange.com/
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Questions?
https://tothecore.sk/
https://twitter.com/chorpo
http://goodreads.com/chorpo
https://linkedin.com/in/chorpo
Peter Procházka
From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
Thank you
and
may the force
be with you

More Related Content

More from Peter Procházka

Sitecore Forms with JSS
Sitecore Forms with JSSSitecore Forms with JSS
Sitecore Forms with JSS
Peter Procházka
 
Sitecore Forms with JSS
Sitecore Forms with JSSSitecore Forms with JSS
Sitecore Forms with JSS
Peter Procházka
 
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Peter Procházka
 
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Peter Procházka
 
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Peter Procházka
 
Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf
Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdfAre Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf
Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf
Peter Procházka
 
My Sitecore MVP Journey by Peter Prochazka
My Sitecore MVP Journey by Peter ProchazkaMy Sitecore MVP Journey by Peter Prochazka
My Sitecore MVP Journey by Peter Prochazka
Peter Procházka
 
SUGCON Europe 2019 Reflections
SUGCON Europe 2019 ReflectionsSUGCON Europe 2019 Reflections
SUGCON Europe 2019 Reflections
Peter Procházka
 
Privacy by Design and by Default + General Data Protection Regulation with Si...
Privacy by Design and by Default + General Data Protection Regulation with Si...Privacy by Design and by Default + General Data Protection Regulation with Si...
Privacy by Design and by Default + General Data Protection Regulation with Si...
Peter Procházka
 
Content Creation with Sitecore Experience Accelerator (SXA) - SUG Chennai - ...
Content Creation with Sitecore Experience Accelerator (SXA)  - SUG Chennai - ...Content Creation with Sitecore Experience Accelerator (SXA)  - SUG Chennai - ...
Content Creation with Sitecore Experience Accelerator (SXA) - SUG Chennai - ...
Peter Procházka
 
Sitecore Experience Commerce 9 Update 2 New Features
Sitecore Experience Commerce 9 Update 2 New FeaturesSitecore Experience Commerce 9 Update 2 New Features
Sitecore Experience Commerce 9 Update 2 New Features
Peter Procházka
 

More from Peter Procházka (11)

Sitecore Forms with JSS
Sitecore Forms with JSSSitecore Forms with JSS
Sitecore Forms with JSS
 
Sitecore Forms with JSS
Sitecore Forms with JSSSitecore Forms with JSS
Sitecore Forms with JSS
 
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
 
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
 
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
Are Frameworks Evil? Should you care about Sitecore SXA and JSS?
 
Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf
Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdfAre Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf
Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf
 
My Sitecore MVP Journey by Peter Prochazka
My Sitecore MVP Journey by Peter ProchazkaMy Sitecore MVP Journey by Peter Prochazka
My Sitecore MVP Journey by Peter Prochazka
 
SUGCON Europe 2019 Reflections
SUGCON Europe 2019 ReflectionsSUGCON Europe 2019 Reflections
SUGCON Europe 2019 Reflections
 
Privacy by Design and by Default + General Data Protection Regulation with Si...
Privacy by Design and by Default + General Data Protection Regulation with Si...Privacy by Design and by Default + General Data Protection Regulation with Si...
Privacy by Design and by Default + General Data Protection Regulation with Si...
 
Content Creation with Sitecore Experience Accelerator (SXA) - SUG Chennai - ...
Content Creation with Sitecore Experience Accelerator (SXA)  - SUG Chennai - ...Content Creation with Sitecore Experience Accelerator (SXA)  - SUG Chennai - ...
Content Creation with Sitecore Experience Accelerator (SXA) - SUG Chennai - ...
 
Sitecore Experience Commerce 9 Update 2 New Features
Sitecore Experience Commerce 9 Update 2 New FeaturesSitecore Experience Commerce 9 Update 2 New Features
Sitecore Experience Commerce 9 Update 2 New Features
 

Recently uploaded

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 

Recently uploaded (20)

Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 

From hero to zero and back to hero - SUG Chennai - 29.04.2021

  • 1. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Peter Prochazka tothecore.sk / @chorpo From Hero to Zero and back to Hero
  • 2. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka https://tothecore.sk/ https://twitter.com/chorpo http://goodreads.com/chorpo https://linkedin.com/in/chorpo Peter Procházka Quick Intro
  • 3. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka The Project (Initial description)
  • 4. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka The Project • Brown field project • Existing Sitecore sites – on Prem: 1. Public facing website • Sitecore 8.0 with MVC • Built 5 years ago • Little bit of Angular 2. Microsite – Only for members – Platform 1.0 • Sitecore 8.0 with MVC • Vue.js • Build last year • Our project – Platform 1.1 -> Azure • Build a new public facing website on top of Platform 1.0 on top of Sitecore 9.3
  • 5. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprint 0
  • 6. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
  • 7. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
  • 8. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
  • 9. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Clash of the Titans
  • 10. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore 10 Sitecore 9.3 Sitecore version
  • 11. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2
  • 12. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2 • Setting DevOps pipelines • Creating one click deployments • Following “Build once, deploy anywhere” • Creating API • to wrap third-party APIs • hide implementation details • increasing security • Creating components, layouts, …
  • 13. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2
  • 14. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2
  • 15. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2
  • 16. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2
  • 17. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprints 1 & 2
  • 18. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprint 3
  • 19. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprint 3
  • 20. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprint 3
  • 21. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprint 3
  • 22. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sprint 4
  • 23. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka The Design System
  • 24. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Atomic Design Atomic Design
  • 25. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Atomic Design
  • 26. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Atomic Design • Book
  • 27. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka HTML5 and CSS3
  • 28. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka HTML5
  • 29. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka HTML5
  • 30. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka CSS3 • Frameworks • Vanilla CSS • CSS Frameworks / UI Kits: • Bootstrap • Foundation • Bulma • Utility-first • Tailwind • Windi
  • 31. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka CSS3
  • 32. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 33. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 34. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 35. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 36. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 37. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 38. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 39. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 40. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 41. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 42. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 43. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 44. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 45. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 46. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 47. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 48. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript - Date
  • 49. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript - hoisting
  • 50. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript - hoisting
  • 51. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript - npm
  • 52. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript
  • 53. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JavaScript – Basic knowledge • Data types, variables, loops, functions • Global/local scope • Array methods like forEach(), map() and reduce(); pop(), push(), slice() • Promises & async programming • Fetch API and how to make HTTP requests
  • 54. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ECMAScript
  • 55. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ECMAScript • JavaScript -> ECMAScript • ECMAScript: • JavaScript • ActionScript • JScript
  • 56. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ECMAScript • ES1 – June 1997 • ES5 – December 2009 • ES5.1 – June 2011 • ES6 = ES2015 – June 2015 • ES2016 • ES2017 • ES2018
  • 57. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ES6 – Let and const • var
  • 58. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ES6 - Let and const • var • var -> • let • const
  • 59. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ES6 - Arrow functions • const myFunction = function() { //.. }} • const myFunction = () => { //..} • const myFunction = () => doSomething() • const myFunction = (param1, param2) => doSomething(param1, param2) • const myFunction = param => doSomething(param)
  • 60. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ES6 - Arrow functions – Implicit return • const myFunction = () => ‘Hello World’ • const myFunction = () => ({ value: ‘Hello World’ })
  • 61. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ES6 - Classes • JavaScript => Prototypical inheritance • ES6 Classes class Rectangle { constructor(height, width) { this.height = height; this.width = width; } }
  • 62. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka ES6 - Classes • ES6 Class inheritance
  • 63. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React
  • 64. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React • Key principles: • Declarative • Component-based • Learn Once, Write Anywhere
  • 65. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React
  • 66. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React • Virtual DOM • DOM vs. Virtual DOM
  • 67. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React • JSX
  • 68. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React • React Official Documentation: • https://reactjs.org/docs/hello-world.html
  • 69. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React • Books
  • 70. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React • Trainings https://www.udacity.com/course/react-nanodegree--nd019
  • 71. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React
  • 72. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka React
  • 73. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS
  • 74. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS • Sitecore JavaScript SDK (JSS) is a set of npm packages that enable implementing Sitecore apps using modern JavaScript frameworks: • Core packages that abstract away the "Sitecore stuff" like talking to different Sitecore APIs, • Framework-specific packages with components that render data managed by the core packages, and • Simple starter apps for every supported framework.
  • 75. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Browser requests URL CMS founds content, renders it and serves HTML Browser / client displays rendered HTML Sitecore JSS – BE vs. FE - BE SXA Sitecore ASP.NET
  • 76. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka SXA Sitecore JSS React Vanilla JavaScript Browser requests content from CMS API (Headless Layout Service) CMS finds content and serves JSON through API Browser / client creates markup Layout Services Sitecore ASP.NET Sitecore JSS – BE vs. FE - FE
  • 77. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JSS - Programming Styles Code-First Sitecore-First
  • 78. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka JSS - Modes Integrated Connected Disconnected
  • 79. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – BE vs. FE - Tooling • Visual Studio vs. Visual Studio Code • VS Code is not mandatory ☺ • You can use anything – Notepad, Notepad++, Atom, … ;-) • ESLint • Prettier
  • 80. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – Creating project • Four commands you need to use when creating new project: • npm install -g @sitecore-jss/sitecore-jss-cli • jss create my-first-jss-app react • cd my-first-jss-app • jss start • When working with not the latest Sitecore/JSS, you need to use this command instead: • jss create my-first-jss-app react -b release/13.0.0 • More details on my blog: • https://tothecore.sk/2021/03/24/creating-version-specific-sitecore-jss- projects/
  • 81. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – Development • Two commands you need to use during development: • jss deploy app --includeContent --includeDictionary • jss deploy items --language=de-DE --includeContent --includeDictionary
  • 82. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – No environment specific configuration • No OOTB support • Sitecore Rule Based Configuration • https://doc.sitecore.com/developers/93/platform-administration-and- architecture/en/rule-based-configuration.html • API – GetSettings • More details: • https://tothecore.sk/2021/04/26/how-to-have-environment-specific-configuration- with-sitecore-jss/
  • 83. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka • RTFM • https://tothecore.sk/2020/08/28/sitecore-jss-learning-resources-getting- started-with-jss • Practice, Practice, Practice, … Sitecore JSS – Learning resources
  • 84. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – Yaml
  • 85. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – Yaml
  • 86. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – Yaml
  • 87. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Sitecore JSS – Yaml
  • 88. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka The Project (final description)
  • 89. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka The Project • Green field project instead of Brown field • Our project – Platform 1.1 • Using Sitecore JSS • With React • On Sitecore 9.3 • Following Atomic Design • Possible next steps: • Upgrade to Sitecore 10.1 • Using Next.js • Using Storybook
  • 90. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
  • 91. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka
  • 92. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka “The more languages you know, the more of a person you are”. My grandfather “The more languages you know, the more of a developer you are”. Me
  • 93. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka SITECORE JSS LEARNING RESOURCES / GETTING STARTED WITH JSS https://tothecore.sk/2020/08/28/sitecore-jss-learning-resources- getting-started-with-jss https://doc.sitecore.net/ https://sitecorechat.slack.com/ https://sitecore.stackexchange.com/
  • 94. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Questions? https://tothecore.sk/ https://twitter.com/chorpo http://goodreads.com/chorpo https://linkedin.com/in/chorpo Peter Procházka
  • 95. From Hero to Zero and back to Hero by Peter Prochazka (tothecore.sk / @chorpo) Log out | Peter Prochazka Thank you and may the force be with you