Skip to content

Commit e755137

Browse files
authored
Document polyglot architecture and frontend evolution
Added details about the transition to a polyglot architecture and the evolution of the frontend layer, including technology choices for backend services and micro-frontends.
1 parent df1f241 commit e755137

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/content/en-case-studies/commerce-platform-modernization-log.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,12 +605,24 @@ Created or organized repositories:
605605
- message thread synchronization
606606
- message translation worker
607607

608+
An important part of this phase is the gradual move toward a polyglot architecture.
609+
610+
The legacy application still runs on PHP/Yii2, but new backend services and future domain microservices are being designed primarily around Node.js / TypeScript / NestJS / Fastify. This applies not only to the AI layer, but also to core system elements such as `comers-core-api`, and to planned domain extractions such as `orders` and `messages`.
611+
612+
The frontend layer is evolving in two directions:
613+
614+
- the main SPA direction remains Angular-based,
615+
- selected micro-frontends, such as the current AI chat, can be built with React/Vite.
616+
617+
Specialized runtimes may also use separate technologies when they better fit their role — for example, Python for the backend-controlled ChatKit runtime.
618+
608619
Effect:
609620

610621
- application repositories are no longer the primary place for production runtime definitions
611622
- background processes became explicitly described runtime units
612623
- deployment, configuration, and service responsibilities are easier to manage
613624
- the architecture is more ready for further containerization and service extraction
625+
- new capabilities can be built in specialized runtimes without expanding the legacy PHP/Yii2 application
614626

615627
---
616628

0 commit comments

Comments
 (0)