Concept
Experimenting with decoupling Magento’s frontend entirely, replacing it with a modern, visually editable CMS experience hosted on the edge via Cloudflare Pages.
The Vision
Traditional Magento frontends require:
- PHP template knowledge
- Server-side rendering
- Complex deployment processes
- Developer involvement for content changes
This project explores whether we can have:
- Visual Editing: Drag-and-drop content editing with React Bricks
- Serverless Hosting: Deploy to Cloudflare’s edge network
- Instant Updates: Content changes without deployments
- Magento Backend: Keep all the commerce logic and catalog management
Architecture
[Magento 2 Backend]
↓ (GraphQL/REST API)
[React Bricks Frontend]
↓ (Build)
[Cloudflare Pages]
Why This Matters
- Performance: Cloudflare’s edge network for blazing-fast page loads
- Scalability: Serverless scales automatically
- Developer Experience: Modern React tooling and hot reload
- Content Editor Experience: Visual editing without code changes
- Cost: Serverless can be more cost-effective than traditional hosting
Status
Currently in experimental phase, evaluating the feasibility and developer experience of this architecture.