Deploying an Angular Store on Oracle CX Commerce

Deliver a sub-second Angular website on Oracle CX Commerce with Moovweb XDN

Angular is an isomorphic frontend framework created by Google. It is a popular solution for large enterprise websites that plan to scale their site quickly. All in all, Angular offers great runtime performance and is fit to be the backbone for complex, revenue-generating websites with heavy traffic, such as eCommerce and Travel websites.

Angular comes with a bunch of built-in capabilities, including:

  • Code generation: Angular generates code that's highly optimized for JavaScript virtual machines, providing the benefits of hand-written code. HTML templates combined with JavaScript open the door for optimizations that are simply not possible in other frameworks, for example React or Vue.
  • Code splitting: Angular apps load quickly, delivering automatic code-splitting. This way, users load code required to render the view they request.
  • Real DOM: Angular uses real DOM, making the framework best suited for websites that do not change frequently. However, the framework is not the best choice for large websites, or those that make frequent updates, such as eCommerce sites.

Oracle CX Commerce, formerly Oracle Commerce Cloud, is a cloud-native commerce solution built with an API-first architecture and has an extensive REST API that can be used to implement shopping, checkout, and storefront admin in a portable frontend, such as a progressive web app or single-page application. CX Commerce comes with three modular options: fully integrated, non-integrated and integrated. A fully integrated storefront tightly connects the UI layer and the commerce services layer, whereas a non-integrated approach is akin to a headless one where the UI layer is separated from the backend commerce platform. The third approach is a hybrid, where the UI layer is separate from the backend but still has CX Commerce capabilities, such as site design tools, personalization and A/B testing.

Unfortunately, Oracle CX Commerce Cloud does not support SSR, PWA or AMP out of he box, significantly hindering website performance. The platform can run JavaScript server-side, however, this capability is partitioned to custom paths that do not line up with the URLs of the existing commerce experience and are built for supporting server side extensions and not server-side rendering. To add these capabilities to your website on your own, you'll need a backend for frontends and a fleet of Node.js servers, but this still won't get a site down to sub-second speeds.

Moovweb XDN lets you deliver your Angular storefront on Oracle CX Commerce in sub-seconds. The average website on the XDN sees median page loads of 320ms, as measured by Largest Contentful Paint (LCP). Bear in mind though that the XDN is much more than a website accelerator. It is a Jamstack platform for dynamic website / eCommerce websites. Moovweb XDN makes websites faster for users and simpler for frontend developers. The platform was built specifically for large-scale, database-driven, revenue-generating websites and provides the following key benefits: 

  • Jamstack for eCommerce via pre and just-in-time rendering
  • Zero latency networking via prefetching of data from your product catalog APIs
  • An edge is configured natively in your Angular app (CDN-as-JavaScript)
  • Edge rules that run locally, in pre-prod and production  
  • Automated, full-stack preview URLs from GitHub, GitLab, or Bitbucket with every new branch and push
  • Performant split tests at the edge and A/B tests that do not slow down the site, canary deploys, and personalization
  • Serverless JavaScript that is much easier and more reliable than AWS Lambda

With the XDN, your Angular CX Commerce storefront will run in sub-second speeds and your developers will be empowered to control edge caching and reduce rework using the various developer productivity tools that come with the platform. 

If you're currently using Angular, use the this guide to deploy your Angular app on Moovweb XDN and get sub-second loads in as soon as 1 hour of work. 

Deploy in minutes

Moovweb XDN works with all frontends
Deploy freeTakes 2 minutes