Single Page Application SDKs for Crownpeak DXM
First published on Paul Taylor's Architecture Blog.
Native Crownpeak DXM support for React, Vue.JS or Angular developers - potentially saving days of work!
In 2019, I wrote a post about how to harness Crownpeak DXM to deliver a Single Page Application (SPA) using React. In this post, I explained the rationale behind why a developer might choose this technology and provided a high-level walk-through of the typical steps that a developer might need to undertake - both to build a React application but then to "port" the application into DXM. DXM has always allowed developers to choose any language, technology, or framework and deliver that content anywhere in the world (thanks to DXM's Decoupled Content Deployment Architecture). However, it has always taken "additional work" to give the content author the capabilities they need (e.g., real-time preview, in-line ("on-the-glass") and drag & drop editing capabilities.
Last Summer, Crownpeak introduced the SPA SDKs for DXM. Crownpeak initially built the SDKs for the three main SPA frameworks (i.e., React, Vue.JS and Angular). In doing so, the frameworks all had the same two purposes:
1. To seamlessly "wire up" the SPA to data provided by DXM, either statically or dynamically
2. To generate all of the DXM configuration required to support the authoring capabilities described earlier.
The latter purpose stands the SDKs apart from any other provider's offering - the ability to iterate through an application, identify everything required to support the content author, and automatically generate it all (i.e., templates, components, models, etc.) - potentially saving days of work!
All you need to get started is access to the SDKs and a DXM Instance. Crownpeak has released examples of all three SPA framework versions of the SDK (using Procam - the demonstration site). These are available on GitHub as a "quick start".
Crownpeak also released the following 20-minute video, showing how to get started with the React SDK. Although focused on React, the process is identical to Vue.JS or Angular developers.
Suppose you're a front-end developer wanting to work with a SPA framework and CMS for your next project. Why not take a look at the Crownpeak offerings - not only will you love the native feel of the implementation, but your content authors will thank you for giving them the "on the glass" features that will empower them to do more, quicker!
Experience the freedom of Crownpeak
The Crownpeak Digital Experience Platform, delivers the flexibility of a headless CMS for developer freedom, along with, full-featured content editing tools for marketer autonomy.