More Related Content Similar to Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf (20) More from Peter Procházka (14) Are Frameworks Evil; Should you care about Sitecore SXA and JSS;.pdf2. • 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/
• Frameworks, Libraries, SDKs, …
• What are SXA & JSS?
• Should you use them?
Agenda
3. • 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/
Quick Introduction
https://tothecore.sk/
https://twitter.com/chorpo
http://goodreads.com/chorpo
https://linkedin.com/in/chorpo
Peter Procházka
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/
• Library
• Functions, set of functions
• Called when needed
Libraries, SDKs, Frameworks,…
6. • 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/
• SDKs
• Wider scope than libraries
• Collection of libraries
Libraries, SDKs, Frameworks,…
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/
• Framework
• Inverse of libraries and SDKs
• Collection of libraries, APIs, …
• Giving you foundation on top
Libraries, SDKs, Frameworks,…
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/
• Library vs. SDK vs. Framework
Libraries, SDKs, Frameworks,…
Application Code
Framework
Library
Library
Library
SDKs/Libraries
SDK
Library
Library
Libraries
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/
• Library vs. SDK vs. Framework
Libraries, SDKs, Frameworks,…
Library / SDK Framework
Provides reusable function for our code Provides ready to use tools, standards, templates, and
policies for fast application development
Our code controls when and where to call a library The framework controls calling of libraries for our code
Library can be added to augment the features of an
existing application
To leverage the benefit of a framework, a fresh
application can be developed following the
framework’s guideline
Facilitates program binding Easy to create and deploy an application
Helps us to reuse a software function Helps us to develop a software application quickly
Intent of a library is to provide reusable software
functionality
Intent of a framework is to reduce the complexity of
the software development
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/
• Libraries - benefits
• Reusable functions
• Eliminates “reinventing the wheel”
• Reduces development cost
Libraries, SDKs, Frameworks,…
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/
• Libraries - drawbacks
• “Vendor lock-in” problem
• Libraries abandoned
• Lack of support
Libraries, SDKs, Frameworks,…
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/
• Libraries
Libraries, SDKs, Frameworks,…
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/
• Frameworks - benefits
• Less code
• Extensibility
• Reduces development cost
Libraries, SDKs, Frameworks,…
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/
• Frameworks - drawbacks
• Preventing from gaining in-depth understanding of language / tech
• Learning curve
• Tweaking framework is hard
• Choosing the right one
Libraries, SDKs, Frameworks,…
15. • 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/
• Frameworks
Libraries, SDKs, Frameworks,…
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/
• Sitecore SXA
• Sitecore Experience Accelerator
• Great example of Framework
• Follows Helix principles
Sitecore SXA and JSS
SXA
Sitecore
ASP.NET
18. • 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/
• Sitecore SXA
• Tenants and sites
Sitecore SXA and JSS
19. • 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/
• Sitecore SXA
• Modules
Sitecore SXA and JSS
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/
• Sitecore SXA
• Page and partial designs, rendering variants
Sitecore SXA and JSS
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/
• Sitecore SXA
• Toolbox
Sitecore SXA and JSS
22. • 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/
• Sitecore SXA
• Snippet
Sitecore SXA and JSS
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/
• Sitecore JSS
• Sitecore JavaScript Services
• Great example of SDK
Sitecore SXA and JSS
Sitecore JSS
React
Vanilla
JavaScript
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/
• Sitecore JSS
• Sitecore JavaScript Services
• Great example of SDK
Sitecore SXA and JSS
Sitecore
JSS
Sitecore
Headless
Service
Sitecore
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/
• Sitecore JSS
• Sitecore JavaScript Services
• Great example of SDK
Sitecore SXA and JSS
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/
• Sitecore JSS
• Supported front-end libraries / frameworks
Sitecore SXA and JSS
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/
• Sitecore JSS
• Enhancements:
• JSS CLI
• Sitecore Headless Service
• Abstractions for front-end developers that allow working with Sitecore
declaratively
• Utility functions and front-end components
Sitecore SXA and JSS
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/
• Sitecore JSS
• Topologies:
• Headless
• Integrated
Sitecore SXA and JSS
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/
• Sitecore JSS
• Topologies:
• Headless
• Integrated
Sitecore SXA and JSS
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/
• Sitecore JSS
• Topologies:
• Headless
• Integrated
Sitecore SXA and JSS
32. • 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/
• Sitecore SXA and JSS - Benefits
• No need to build your own “Sitecore Company framework”
• Simplifies Many Tasks and Challenges
• Focused Application Development
• Standardized Coding practices
• Community
SXA and JSS – Benefits
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/
• Sitecore SXA and JSS - Drawbacks
• Learning curve
• Learning SDK/Framework and not Sitecore
• Unnecessary Extras
SXA and JSS – Drawbacks
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/
• Decision when to use SXA
• Team knows Sitecore MVC development
• Team seeks something on top of regular Sitecore MVC development
• In this case – evaluation of using Headless Services with ASP.NET Core
• Content Editors would like to customize rendered HTML -> Rendering
Variants is perfect solution
SXA and JSS
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/
• Decision when to use JSS
• Team knows Sitecore and has knowledgeable front-end team
• Team wants to do headless development
SXA and JSS
36. ” –
Should we use Sitecore SXA or JSS?
Definitely. Go for it…
Peter Procházka
37. I am a proud community member! Please contact me on the following
handles:
sitecorechat.slack.com twitter sitecore.stackexchange.com
@Peter Prochazka @chorpo peter-procházka