CMA, CSA, and ScandiPWA
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 is an officially supported way to create ScandiPWA applications. It offers a modern build setup with no configuration.
The core of the CSA is a well-known Create React App - an officially supported way to create single-page React applications.
Alongside a new way of building your React applications, we created an open-source PWA theme for Magento 2.
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.
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.