| Sitecore User Group Montreal, Mohamed Krimi
I
1
Moving to headless
solution with
Sitecore 9 and JSS
Mohamed Krimi,
Technology Director, Sitecore MVP
| Sitecore User Group Montreal, Mohamed Krimi
Technology Director, Sitecore MVP
I
2
About
Mohamed Krimi
https://creativeway.cloud
@medkrimi
➔ C# .Net Web developer 12+ years
➔ Solution Architect, Technical
Manager 7+ years
➔ I have been working for 12+
designing, implementing and
deploying enterprise scale CMS
and E-commerce Solutions
➔ First Sitecore contact 6.2
➔ Sitecore User Group Montreal
Organizer
| Sitecore User Group Montreal, Mohamed Krimi 3
WE
EMPOWER
COMPANIES
TO REACH
THEIR
DIGITAL
POTENTIAL
CMSs : Then and now1
Why Headless CMS?
Architecture and Benefits2
Sitecore Headless using
JavaScript Services3
Agenda
JSS in action with VueJS4
| Sitecore User Group Montreal, Mohamed Krimi 4
THEN vs NOW
Simple Static
Web Pages
Static &
Dynamic
Websites
1999
2003
CMS &
E-commerce
Advanced
Enterprise
CMS HEADLESS
Digital
Experience
Platform
2005
2015
2010
2017
FUTURE
ROI
Time
Internet of
things IoT
Mobility
Content authors
IT / Support administrators
Marketers / Digital Strategists
SEO
Social
Analytics
Data Analysts (SEO, Social, UX)
Cloud
Bots and
assistants
AR/VR
| Sitecore User Group Montreal, Mohamed Krimi
I
5
Why
Headless CMS?
Architecture and
benefits
| Sitecore User Group Montreal, Mohamed Krimi
Why
Headless CMS?
● Content Marketing is at the top of the trends in 2018: Content-first
approach is the way to build a relevant and efficient CX
● Supports Multiple Digital Channels (Desktop, Mobile, Smart Watches,
Smart TVs, IoT, Assistants, and Bots)
● Gives Front-end developers freedom to innovate using modern and
interactive development framework
● Agile Teams need more flexibility with rapid product engineering
6
| Sitecore User Group Montreal, Mohamed Krimi
Traditional, Non-headless CMS
7
● Large application code base
● Webpage HTML centric
● The Front-end part is tied to the
content and CMS constraints
● No separation between content
and presentation
● High costs for server hosting
requirements Traditional, coupled non-headless Architecture
| Sitecore User Group Montreal, Mohamed Krimi
Decoupled Architecture
8
● More flexibility than the
coupled CMS
● Same Code base
● The front-end part is physically
separated from the content
database
● Security
Decoupled Architecture
| Sitecore User Group Montreal, Mohamed Krimi
Headless Architecture
9
“A headless CMS is a content
management system that lets you
store, edit, and manage content—but
doesn’t actually render the content
on your audience’s screen.”
What you need to know about headless CMSs, Sitecore
Headless Architecture
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
10
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
11
● Content Objects via API
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
12
● Content Objects via API
● Non-html devices
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
13
● Content Objects via API
● Non-html devices
● Modern app development
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
14
● Content Objects via API
● Non-html devices
● Modern app development
● True interactive experience
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
15
● Content Objects via API
● Non-html devices
● Modern app development
● True interactive experience
● Cross-team dependency
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
16
● Content Objects via API
● Non-html devices
● Modern app development
● True interactive experience
● Cross-team dependency
● Cost effective hosting options
| Sitecore User Group Montreal, Mohamed Krimi
Headless benefits
17
● Content Objects via API
● Non-html devices
● Modern app development
● True interactive experience
● Cross-team dependency
● Cost effective hosting options
| Sitecore User Group Montreal, Mohamed Krimi
I
18
Sitecore
Headless
Approach with
Javascript Services
| Sitecore User Group Montreal, Mohamed Krimi
Sitecore is “Headless-ready” by design
● Separate the content repository from the rendering
and presentation layer.
● Decoupled Content Management and Content
Delivery
● Sitecore Services client API
● then RESTful API (back to 7.5)
19
| Sitecore User Group Montreal, Mohamed KrimiYour Company Name 20
HOWEVER…
HOW TO BRING BUSINESS VALUE THROUGH
RELEVANT MULTI-CHANNEL DIGITAL
EXPERIENCE?
| Sitecore User Group Montreal, Mohamed Krimi
For “truly-Headless” Sitecore Solution
JSS brings back the power of
● Tracking
● Analytics
● Experience Editor
● Personalization
● Optimization and A/B testing
21
| Sitecore User Group Montreal, Mohamed Krimi
JSS Library (SDK)
Sitecore Layout
Services
Javascript View
Engine (SSR)
Application
Import Service
Behind the scene
App Settings
Dictionary
Service
StyleGuide
(Vue, React, Angular)StyleGuide
(Vue, React, Angular)StyleGuide
(Vue, React, Angular)
Decoupled
Front-end
Application
| Sitecore User Group Montreal, Mohamed Krimi
How can it help?
● 2 development Workflows:
○ Code-first
○ then Sitecore-first
● 4 Application modes:
○ Disconnected
○ Connected
○ Integrated
○ API-only mode
23
Efficient Front-end
JSS
Sitecore Features
| Sitecore User Group Montreal, Mohamed Krimi
How can it help?
● 3 Client Frameworks
○ Angular
○ React
○ VueJS
● 2+ Cloud Deployment options
○ Azure WDP (@Sitecorey’s blog)
○ Azure FTP (JSS Official doc)
○ Netlify (@alexshyba)
24
| Sitecore User Group Montreal, Mohamed Krimi
And what about Helix principles?
● Dependencies? Handled by default using NPM
● Layers? Not in the StyleGuide, you need customise
the Import Services to support Layers (@jflh)
● Modules? JavaScript Modern Application
development is component based
● Domains? Create your own to support business user
25
| Sitecore User Group Montreal, Mohamed Krimi
I
26
Let’s do it with
Sitecore 9,
JSS and VueJS
| Sitecore User Group Montreal, Mohamed Krimi 27
Before moving forward, ask the right question
● JSS does not fit all use cases
● JSS reduces time to market with
rapid content-first prototyping
● Keep the content-first approach,
however do not ignore Information
Architecture and Helix principles in
disconnected mode
| Sitecore User Group Montreal, Mohamed Krimi 28
● Next release Sitecore 9.1*
● JSS will be open source; not free to
use*
● Think twice about you business user
and try to map native CMS features
(Forms, Workflow, Multi-tenant,
Multi-culture) that bring value to your
customer.
| Sitecore User Group Montreal, Mohamed Krimi 29
WE
EMPOWER
COMPANIES
TO REACH
THEIR
DIGITAL
POTENTIAL
Thank you :)

Moving to a headless solution based on sitecore 9 and javascript services

  • 1.
    | Sitecore UserGroup Montreal, Mohamed Krimi I 1 Moving to headless solution with Sitecore 9 and JSS Mohamed Krimi, Technology Director, Sitecore MVP
  • 2.
    | Sitecore UserGroup Montreal, Mohamed Krimi Technology Director, Sitecore MVP I 2 About Mohamed Krimi https://creativeway.cloud @medkrimi ➔ C# .Net Web developer 12+ years ➔ Solution Architect, Technical Manager 7+ years ➔ I have been working for 12+ designing, implementing and deploying enterprise scale CMS and E-commerce Solutions ➔ First Sitecore contact 6.2 ➔ Sitecore User Group Montreal Organizer
  • 3.
    | Sitecore UserGroup Montreal, Mohamed Krimi 3 WE EMPOWER COMPANIES TO REACH THEIR DIGITAL POTENTIAL CMSs : Then and now1 Why Headless CMS? Architecture and Benefits2 Sitecore Headless using JavaScript Services3 Agenda JSS in action with VueJS4
  • 4.
    | Sitecore UserGroup Montreal, Mohamed Krimi 4 THEN vs NOW Simple Static Web Pages Static & Dynamic Websites 1999 2003 CMS & E-commerce Advanced Enterprise CMS HEADLESS Digital Experience Platform 2005 2015 2010 2017 FUTURE ROI Time Internet of things IoT Mobility Content authors IT / Support administrators Marketers / Digital Strategists SEO Social Analytics Data Analysts (SEO, Social, UX) Cloud Bots and assistants AR/VR
  • 5.
    | Sitecore UserGroup Montreal, Mohamed Krimi I 5 Why Headless CMS? Architecture and benefits
  • 6.
    | Sitecore UserGroup Montreal, Mohamed Krimi Why Headless CMS? ● Content Marketing is at the top of the trends in 2018: Content-first approach is the way to build a relevant and efficient CX ● Supports Multiple Digital Channels (Desktop, Mobile, Smart Watches, Smart TVs, IoT, Assistants, and Bots) ● Gives Front-end developers freedom to innovate using modern and interactive development framework ● Agile Teams need more flexibility with rapid product engineering 6
  • 7.
    | Sitecore UserGroup Montreal, Mohamed Krimi Traditional, Non-headless CMS 7 ● Large application code base ● Webpage HTML centric ● The Front-end part is tied to the content and CMS constraints ● No separation between content and presentation ● High costs for server hosting requirements Traditional, coupled non-headless Architecture
  • 8.
    | Sitecore UserGroup Montreal, Mohamed Krimi Decoupled Architecture 8 ● More flexibility than the coupled CMS ● Same Code base ● The front-end part is physically separated from the content database ● Security Decoupled Architecture
  • 9.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless Architecture 9 “A headless CMS is a content management system that lets you store, edit, and manage content—but doesn’t actually render the content on your audience’s screen.” What you need to know about headless CMSs, Sitecore Headless Architecture
  • 10.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 10
  • 11.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 11 ● Content Objects via API
  • 12.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 12 ● Content Objects via API ● Non-html devices
  • 13.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 13 ● Content Objects via API ● Non-html devices ● Modern app development
  • 14.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 14 ● Content Objects via API ● Non-html devices ● Modern app development ● True interactive experience
  • 15.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 15 ● Content Objects via API ● Non-html devices ● Modern app development ● True interactive experience ● Cross-team dependency
  • 16.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 16 ● Content Objects via API ● Non-html devices ● Modern app development ● True interactive experience ● Cross-team dependency ● Cost effective hosting options
  • 17.
    | Sitecore UserGroup Montreal, Mohamed Krimi Headless benefits 17 ● Content Objects via API ● Non-html devices ● Modern app development ● True interactive experience ● Cross-team dependency ● Cost effective hosting options
  • 18.
    | Sitecore UserGroup Montreal, Mohamed Krimi I 18 Sitecore Headless Approach with Javascript Services
  • 19.
    | Sitecore UserGroup Montreal, Mohamed Krimi Sitecore is “Headless-ready” by design ● Separate the content repository from the rendering and presentation layer. ● Decoupled Content Management and Content Delivery ● Sitecore Services client API ● then RESTful API (back to 7.5) 19
  • 20.
    | Sitecore UserGroup Montreal, Mohamed KrimiYour Company Name 20 HOWEVER… HOW TO BRING BUSINESS VALUE THROUGH RELEVANT MULTI-CHANNEL DIGITAL EXPERIENCE?
  • 21.
    | Sitecore UserGroup Montreal, Mohamed Krimi For “truly-Headless” Sitecore Solution JSS brings back the power of ● Tracking ● Analytics ● Experience Editor ● Personalization ● Optimization and A/B testing 21
  • 22.
    | Sitecore UserGroup Montreal, Mohamed Krimi JSS Library (SDK) Sitecore Layout Services Javascript View Engine (SSR) Application Import Service Behind the scene App Settings Dictionary Service StyleGuide (Vue, React, Angular)StyleGuide (Vue, React, Angular)StyleGuide (Vue, React, Angular) Decoupled Front-end Application
  • 23.
    | Sitecore UserGroup Montreal, Mohamed Krimi How can it help? ● 2 development Workflows: ○ Code-first ○ then Sitecore-first ● 4 Application modes: ○ Disconnected ○ Connected ○ Integrated ○ API-only mode 23 Efficient Front-end JSS Sitecore Features
  • 24.
    | Sitecore UserGroup Montreal, Mohamed Krimi How can it help? ● 3 Client Frameworks ○ Angular ○ React ○ VueJS ● 2+ Cloud Deployment options ○ Azure WDP (@Sitecorey’s blog) ○ Azure FTP (JSS Official doc) ○ Netlify (@alexshyba) 24
  • 25.
    | Sitecore UserGroup Montreal, Mohamed Krimi And what about Helix principles? ● Dependencies? Handled by default using NPM ● Layers? Not in the StyleGuide, you need customise the Import Services to support Layers (@jflh) ● Modules? JavaScript Modern Application development is component based ● Domains? Create your own to support business user 25
  • 26.
    | Sitecore UserGroup Montreal, Mohamed Krimi I 26 Let’s do it with Sitecore 9, JSS and VueJS
  • 27.
    | Sitecore UserGroup Montreal, Mohamed Krimi 27 Before moving forward, ask the right question ● JSS does not fit all use cases ● JSS reduces time to market with rapid content-first prototyping ● Keep the content-first approach, however do not ignore Information Architecture and Helix principles in disconnected mode
  • 28.
    | Sitecore UserGroup Montreal, Mohamed Krimi 28 ● Next release Sitecore 9.1* ● JSS will be open source; not free to use* ● Think twice about you business user and try to map native CMS features (Forms, Workflow, Multi-tenant, Multi-culture) that bring value to your customer.
  • 29.
    | Sitecore UserGroup Montreal, Mohamed Krimi 29 WE EMPOWER COMPANIES TO REACH THEIR DIGITAL POTENTIAL Thank you :)