Skip to main content

Sitecore Site Creation: A Comparison of SXA and Headless SXA

 

Objective:

Are you thinking about using Sitecore for your website development? If so, you might be wondering whether to use Sitecore Experience Accelerator (SXA) or Headless SXA. In this post, we'll examine the differences between these two methods and help you determine which one is best for your project. Its totally depend on the business context and load model.

To design your site using SXA:
Sitecore SXA brings Sitecore in competition with other easy to use CMS with enterprise capability.
SXA empowers teams to collaborate effectively, streamline website creation, and maintain brand consistency. Its flexibility and scalability make it an excellent choice for enterprise CMS solutions.
Few of SXA core enterprise CMS capabilities are:
    • Parallel Work Streams
    • Responsive Grid Layouts
    • Reusable Renderings and Components
    • Themes for Brand Consistency
    • Page Designs for Consistency and Flexibility
    • Customizing Renderings with Variants

 


But what about Headless SXA? This approach is in high demand, but it comes with own baggage which doesn't require to be carried out by every business needs. To bridge the gap between these SXA decoupled approaches and headless approach Sitecore introduced headless SXA.


Sitecore Headless SXA and normal Sitecore SXA:
It serves distinct purposes and has different characteristics. Let’s explore their differences:Native Sitecore SXA (Sitecore Experience Accelerator):
  • Purpose: SXA is designed to accelerate website development by providing a componentized library of pre-defined HTML elements. These components include carousels, image containers, buttons, and more.
  • Features: Drag-and-drop interface: Content authors can easily create wireframes and package HTML for front-end styling.Wider support for grids and friendly front-end tools like Vue.
  • Limitations: The HTML output is predefined by Sitecore components, which may restrict design flexibility.
  • Pros: SXA allows for rapid website delivery and ease of use for content authors.
  • Cons: Creativity may be limited due to predefined HTML components.

 Sitecore Headless SXA (based on Sitecore JSS):


  • Purpose: Headless SXA follows a headless CMS approach, allowing front-end developers more flexibility.
  • Features: Front-end developers can translate every pixel from the design process. Sitecore JSS features enable connections with oData references, which are transportable and plug into Sitecore. Unlike regular SXA, headless SXA lacks the drag-and-drop editing experience.
  • Pros:  Ideal for creating a customized user experience (UX).Headless architecture: Seamless integration with modern JavaScript frameworks.
  • Cons: Maintenance practicality: Managing a website with the experience editor may favor regular SXA.

Which Approach Should You Take?

So, which approach should you take? It really depends on your specific needs and goals. You may want to consider using both approaches side-by-side or for different use cases (e.g., campaign sites, master sites, multi-tenant setups, e-commerce stores, portals, or micro-sites). Evaluate the outcomes and development lifecycle of your project to choose the approach (headless or SXA) that best meets your requirements. Evaluate outcomes and development lifecycle: Choose the approach (headless or SXA) based on the specific requirements of each project.



In summary, regular SXA prioritizes speed and ease of use, while headless SXA offers greater flexibility for front-end development. The choice depends on your project’s unique needs and goals!

Comments

Popular posts from this blog

Quickest way to setup Sitecore 10.1 Vanilla instance

Sitecore 10.1 Vanilla installation on Developer machine   Step 1. Install Visual studio 2019 Step 2. Install SQL server 2019 (Developer edition) Step 3. Copy all the setup files and tools at shared location with full rights   Step 4. Browse “Sitecore 10.1.1 rev. 005862 (Setup XP0 Developer Workstation rev. 1.2.3-r6)” folder and run setup.exe in admin mode Step 5. You should be able to see SIA installation screen, click on Start button to start installation Step 6. SIA complete the entire process in 3 parts, first part installed all required Sitecore 10.1 prerequisites. Step 7. Once Prerequisites are installed restart the development machine and open setup.exe again in admin mode (refer step #4). Once SIA will be started then don’t click on Install button again for “Prerequisites”, just click on Skip. Step 8. As I said in Step #6 that Sitecore does installation in three parts, so this is second parts where you will have to pass require parameter to setup sol...

Other aspects of HTML5

There is great feature embedded with HTML5 that is multimedia support without any plugin at end user.The best part of this tag is that it support wide range of quality audio/video format. The tags which we use for audio and video are: <audio> <video> The code snippet for same: <audio id=“audio” controls preload="auto" autobuffer>   <source src="source1.mp3" />   <source src=" source2.ogg" /> </audio> <video id=“video” poster=”poster.jpg" src=”source.mp4" width="2" height="1" x-webkit-airplay="allow” autoplay controls> </video> HTML5 is enriched with other input type tag which is having great ability to enrich the mobile interface,this input type tag along with Jquery UI plugin give them very strong presence on mobile where end user get very lucrative look and feel. <input type="number" pattern="[0-9]*" /> <input type=...