Migrating from React to Angular: A 'Ship of Theseus' Case Study in Production

Author: Omid Farhang Published: January 1, 2026 Reading Time: 4 min

In the software world, the “Ship of Theseus” paradox is a daily reality. We replace parts of a system until, eventually, none of the original code remains. But usually, the industry moves toward the “shiny new thing.” At work, we did something that might sound like heresy to some: we migrated our core legacy React applications to Angular. This wasn’t a decision made out of fanboyism. It was a strategic move driven by the need for governance, stability, and long-term maintainability in a high-stakes FinTech environment. I’ll explain the architectural “why” and the pragmatic “how” of moving against the grain. ...

Continue Reading Migrating from React to Angular: A 'Ship of Theseus' Case Study in Production

Angular Signals and Control Theory: A New Reactivity Model

Author: Omid Farhang Published: December 24, 2025 Reading Time: 4 min

Angular Signals have changed the way we think about reactivity in the frontend. But if you step outside the world of JavaScript, the concept of a “Signal” has a much older, much deeper history in Control Theory and Electrical Engineering. When we talk about “glitch-free” execution in Angular, we are actually talking about maintaining the integrity of a signal graph. I’ll explore the connection between the physics of signals and the architecture of modern web applications. ...

Continue Reading Angular Signals and Control Theory: A New Reactivity Model

Unlocking the Power of Angular's `@ViewChild` and `@ContentChild`

Author: Omid Farhang Published: September 8, 2024 Reading Time: 6 min

Angular’s @ViewChild and @ContentChild decorators provide a powerful way to interact with child components, DOM elements, and projected content within a component’s template. While they are often misunderstood or used interchangeably, each has its own specific purpose and use cases. In this comprehensive guide, we’ll dive deep into both decorators, understanding their differences, use cases, and best practices. Additionally, we’ll explore advanced techniques for leveraging them in various scenarios and edge cases, complete with sample code for hands-on understanding. ...

Continue Reading Unlocking the Power of Angular's `@ViewChild` and `@ContentChild`

Migrating from REST to GraphQL: A Step-by-Step Guide for Express.js and Angular

Author: Omid Farhang Published: August 7, 2024 Reading Time: 6 min

In today’s rapidly evolving web development landscape, GraphQL has emerged as a powerful alternative to traditional REST APIs. This blog post will guide you through the process of migrating your Express.js backend and Angular frontend from REST to GraphQL, unlocking the benefits of a more flexible and efficient API architecture. 1. Introduction REST (Representational State Transfer) has been the go-to architectural style for building web APIs for many years. However, GraphQL, developed by Facebook, offers several advantages: ...

Continue Reading Migrating from REST to GraphQL: A Step-by-Step Guide for Express.js and Angular

Creating Dynamic Music Visualizations with Angular and the Web Audio API

Author: Omid Farhang Published: July 13, 2024 Reading Time: 11 min

Music visualization has always been a fascinating way to enhance the auditory experience, offering a visual representation of sound that can be both mesmerizing and informative. With the power of modern web technologies like Angular and the Web Audio API, creating dynamic music visualizations is more accessible than ever. This blog post will guide you through the process of building an engaging music visualization application using Angular and the Web Audio API. ...

Continue Reading Creating Dynamic Music Visualizations with Angular and the Web Audio API

Building a Distributed Tracing System with OpenTelemetry in Angular Applications

Author: Omid Farhang Published: June 28, 2024 Reading Time: 5 min

In today’s complex microservices architectures, understanding the flow of requests and pinpointing performance bottlenecks can be challenging. This is where distributed tracing comes into play, and OpenTelemetry provides a powerful toolkit for implementing it. In this post, we’ll explore how to build a distributed tracing system for Angular applications using OpenTelemetry, with a focus on microservices architecture and performance monitoring. What is a Distributed Tracing System? A distributed tracing system is a method of tracking and analyzing requests as they flow through various services in a distributed system. It provides a holistic view of how a request propagates through different components, helping developers identify bottlenecks, troubleshoot issues, and optimize performance. ...

Continue Reading Building a Distributed Tracing System with OpenTelemetry in Angular Applications

Implementing Custom Web Components in Angular with Stencil.js

Author: Omid Farhang Published: June 26, 2024 Reading Time: 5 min

In modern web development, the ability to create reusable components that work across different frameworks and libraries is crucial. This is where Web Components come into play. Web Components allow developers to create custom, reusable HTML elements with encapsulated functionality and styling. However, building Web Components from scratch can be complex and time-consuming. Enter Stencil.js, a powerful tool that simplifies the creation of Web Components. In this guide, we’ll explore how to create custom Web Components using Stencil.js and seamlessly integrate them into Angular applications. Whether you’re an experienced developer or just getting started, this comprehensive guide will walk you through each step of the process. ...

Continue Reading Implementing Custom Web Components in Angular with Stencil.js

Building a Decentralized Application (DApp) with Angular and Ethereum

Author: Omid Farhang Published: June 25, 2024 Reading Time: 6 min

In recent years, decentralized applications (DApps) have emerged as a groundbreaking paradigm in the world of software development. Unlike traditional applications that run on centralized servers, DApps operate on blockchain technology, which offers enhanced security, transparency, and decentralization. This guide will walk you through the process of creating a DApp using Angular and Ethereum, including smart contract development with Solidity. What is a Decentralized Application (DApp)? A DApp is an application that runs on a decentralized network, typically a blockchain. Unlike conventional applications, DApps leverage the decentralized nature of blockchain to provide a higher level of security and trust. Key features of DApps include: ...

Continue Reading Building a Decentralized Application (DApp) with Angular and Ethereum

Building a Real-Time Collaborative Editor with Angular, Firebase, and WebRTC: A Step-by-Step Guide

Author: Omid Farhang Published: June 24, 2024 Reading Time: 5 min

Creating a real-time collaborative text editor can be a challenging but rewarding project. In this guide, we’ll walk you through the process of building a real-time collaborative editor using Angular, Firebase, and WebRTC. By the end of this tutorial, you’ll have a working understanding of these technologies and how to integrate them to create a seamless, real-time collaborative experience. Introduction Real-time collaborative applications are increasingly popular in today’s digital world. They allow multiple users to work on the same document simultaneously, seeing each other’s changes in real time. Google Docs is a prime example of such an application. In this tutorial, we will build a similar application using modern web technologies. ...

Continue Reading Building a Real-Time Collaborative Editor with Angular, Firebase, and WebRTC: A Step-by-Step Guide

Optimizing Angular Applications with Web Workers and OffscreenCanvas

Author: Omid Farhang Published: June 23, 2024 Reading Time: 9 min

In today’s web development landscape, performance is king. Users expect fast, responsive applications that perform smoothly even under heavy loads. This expectation places a significant burden on developers, especially those working with complex front-end frameworks like Angular. One effective strategy for enhancing the performance of Angular applications is to leverage Web Workers and OffscreenCanvas. In this detailed guide, we will explore how to use these technologies to offload heavy computations and rendering tasks, thus optimizing your Angular applications for better performance. ...

Continue Reading Optimizing Angular Applications with Web Workers and OffscreenCanvas