CMA, CSA, and ScandiPWA
Ecosystem overview
The Scandi technology stack was built to support two modes:
Storefront mode β the statically compiled web application which uses a remote Magento 2 instance as the data source. Usually served by a non-Magento server, thus reducing the costs of maintenance and time-to-first-byte (TTFB).
Magento theme mode β the statically compiled Magento 2 theme, served by Magento and getting data from the same Magento 2 instance it's hosted on. The main advantages of this approach are better SEO and higher customizability from the admin interface.
To make the development in both modes easier, we introduced multiple toolchains to streamline the setup process:
Create Magento App (CMA) βΒ a toolchain that allows you to setup Magento 2 applications on your computer or server in a single command.
Create ScandiPWA App (CSA) β a toolchain that implements the Override Mechanism, application plugins, and both building modes. It allows creating ScandiPWA applications in a single command.
It is common to install both ScandiPWA and Magento on the local machine to develop efficiently. THe following open-source technologies are made by the ScandiPWA team:
Create ScandiPWA App
Create ScandiPWA App is an officially supported way to create ScandiPWA applications. It offers a modern build setup with no configuration.
How does it work?
The core of the CSA is a well-known Create React App - an officially supported way to create single-page React applications.
With a CRACO (Create React App Configuration Override) plugin on top, we can use all Create React App features and still be able to customize ESLint, Babel, and other configurations.
Create ScandiPWA App implements Override and Plugin mechanisms on top of CRACO. It can be used to develop React applications while enjoying an enhanced development experience.
ScandiPWA Theme
Alongside a new way of building your React applications, we created an open-source PWA theme for Magento 2.
ScandiPWA theme is enabling you to build a faster, smoother, and offline-enabled experience for your customers, boosting conversion rates. It is built on Progressive Web App (PWA) technology, which is increasingly favored by companies such as Amazon, Alibaba and Uber due to its UX improvements.
The ScandiPWA theme is fully customizable. It introduces a new PWA front-end for Magento 2 alongside the back-end Magento modules with GraphQL endpoints needed to cover all Magento 2 features.
Create Magento App
When it comes to the back-end development, we introduce you the Create Magento App - the fastest way of setting up Magento locally. This deployment technology combines two powerful approaches of containerization and Infrastructure as code to provision you a Magento 2 instance in minutes.
With just one command line, you can link your Create Magento App together with your Create ScandiPWA App, and build your Magento 2 PWA store locally.
Last updated