# Do we need yet another web framework

- Speaker: [Shimi Bar](/wiki/speakers/shimi-bar.md)
- Event: [Reversim Summit 2017](/wiki/years/2017.md)
- Video: https://www.youtube.com/watch?v=_Q3yUb3yADc
- Transcript: [/transcripts/2017/49-_Q3yUb3yADc.md](/transcripts/2017/49-_Q3yUb3yADc.md)
- Language: Hebrew · Type: talk · Level: advanced
- Topics: [Frontend](/wiki/topics/frontend.md), [Microservices](/wiki/topics/microservices.md), [Software Engineering](/wiki/topics/software-engineering.md), [Scalability](/wiki/topics/scalability.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

This talk explores the architectural journey of building a web infrastructure for a large-scale organization to avoid being locked into a single monolithic framework. The speaker details how they created a modular, microservices-inspired frontend architecture that wraps existing libraries and separates private component logic from public core services. Through this approach, different teams can maintain their own tech stacks and components while sharing global state, routing, and side effects via a unified configuration schema. Ultimately, the audience learns how to design frontend systems centered around flexible libraries rather than rigid, all-encompassing frameworks.

## Key points

- [1:17](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=77s) The speaker introduces the scale of the company and the challenge of managing numerous backend admin applications built by different teams.
- [4:41](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=281s) The core needs for a new web infrastructure are identified, including isolation between systems, easy refactoring, dynamic building, and maintainability for large projects.
- [7:47](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=467s) The guiding architectural principles are established, focusing on private versus public separation, multi-library support, and unidirectional data flow.
- [16:49](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=1009s) The speaker explains the challenge of connecting disparate technologies and proposes using a shared schema that describes each service's needs.
- [18:53](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=1133s) The architecture is split into private components representing the UI and a public core shell managing microservices like routing, global state, and asynchronous events.
- [25:14](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=1514s) A core builder tool is introduced to collect configuration files from each service, compile them, and assemble a complete web application.
- [27:19](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=1639s) The current technology stack is reviewed, highlighting Redux for state management, Router 5 for routing, and Webpack 2 for bundling.
- [31:27](https://www.youtube.com/watch?v=_Q3yUb3yADc&t=1887s) In the Q&A session, the speaker discusses production deployments, testing strategies per service, and the ease of scaffolding new applications from scratch.

## Takeaways

- Design frontend architectures around independent services and shared configuration schemas to avoid tight coupling with a single framework.
- Separate private UI components from public core infrastructure like routing, state management, and side effects.
- Build lightweight wrapper layers around existing open-source libraries so they can be easily swapped out as technology evolves.

## Questions this talk answers

- How can a large organization allow different frontend teams to use different technologies without breaking application consistency?
- How do you implement micro-frontends with a unified build process and shared state management?
- What is the best way to structure a frontend application so that you are not permanently locked into a specific framework like React or Angular?

## Technologies

React, Redux, Router 5, Webpack, Node.js, Koa

## Tags

frontend architecture, micro frontends, modularity, scalability, state management, web frameworks
