Frontend

Articles about Frontend on omid.dev — guides, topics, and notes from the field.

Debugging Angular: A Tale of Two Developers

Published: May 22, 2024 Reading Time: 6 min

In any software development project, encountering bugs and issues is inevitable. How we approach these problems often distinguishes a junior developer from a senior one. Today, we’ll walk through a more complex and challenging issue in an Angular project and compare how a junior and a senior developer might handle it. Companion resource Companion Project Try the working example in your browser or inspect the full source code behind this article. github.com/omidfarhang/example-projects/examples/angular-dynamic-form-debugging Open live demo View on GitHub The Issue Our Angular application is supposed to display a dynamic form based on metadata fetched from an API. The form structure is defined in the metadata, which includes information about the fields, their types, and validation rules. Despite the metadata being correctly fetched and parsed, the form does not render correctly, and the validation rules are not applied. ...

Continue Reading

Essential Skills for a Successful Senior Full-Stack Developer

Published: May 17, 2024 Reading Time: 4 min

We already talked about latest trends for Angular Development and then about Essential Skills for a Frontend Developer, but what if you want to grow your stack to backend too and become a full stack developer? As technology evolves, so does the role of a full-stack developer. To remain effective and ahead of the curve, a senior full-stack developer must continually expand their knowledge base. This encompasses technical skills, soft skills, and advanced topics, along with a deep understanding of best practices and key concepts. Let’s explore what each of these areas entails for a senior full-stack developer striving for success. ...

Continue Reading

Essential Skills for a Successful Senior Frontend Developer

Published: May 16, 2024 Reading Time: 5 min

As the web development landscape continually evolves, a successful senior frontend developer must keep pace with both technological advancements and shifting industry standards. Here’s a comprehensive guide to the skills and knowledge areas essential for any senior frontend developer aiming to stay at the top of their game, divided into Technical Skills, Soft Skills, Best Practices and Concepts, and Advanced Topics. Technical Skills 1. Advanced JavaScript JavaScript remains the cornerstone of frontend development. A senior developer should master: ...

Continue Reading

Staying Ahead: Latest Trends in Frontend Development for Angular Developers in 2024

Published: May 16, 2024 Reading Time: 4 min

As an Angular developer, staying updated with the latest trends in frontend development is crucial for keeping your skills relevant and your projects modern. The frontend landscape is constantly evolving, and embracing these trends can help you create better-performing, more maintainable, and more engaging applications. Here are some of the latest trends you should be aware of: 1. Micro Frontends Micro Frontends are gaining significant traction as they allow large applications to be divided into smaller, manageable pieces, each developed and deployed independently. This approach enhances scalability and team productivity, especially in large organizations. Micro Frontends. ...

Continue Reading

Choosing the Right Approach for Managing Multiple Angular Projects: Micro Frontends vs. Monorepo vs. Reusable Shared Module

Published: May 12, 2024 Reading Time: 4 min

Managing multiple Angular projects can be a daunting task, especially as teams grow and codebases become more complex. In this article, we’ll explore three common approaches for managing multiple Angular projects: Micro Frontends, Monorepo, and Reusable Shared Module. We’ll compare their advantages, disadvantages, and suitability for different scenarios to help you make an informed decision for your Angular projects. Micro Frontends Consider a large e-commerce platform comprising several distinct sections, including product catalog, shopping cart, checkout, and user profile. With micro frontends, each section can be developed and deployed independently as a separate micro frontend. This enables different teams to work autonomously on their respective sections, improving development speed, scalability, and flexibility. ...

Continue Reading

Creating a Reusable Shared Module in Angular for Cross-Repository Usage

Published: May 12, 2024 Reading Time: 4 min

In Angular development, creating reusable shared modules is a powerful way to encapsulate common functionality, UI components, services, and styles that can be used across different projects or repositories. In this guide, we’ll walk through the process of creating a reusable shared module from scratch, covering directory structures, component/service/directive creation, shared styles, and both development (npm link) and production (npm publish) use cases. Companion resource Companion Project Try the working example in your browser or inspect the full source code behind this article. github.com/omidfarhang/example-projects/examples/angular-shared-library-workspace Open live demo View on GitHub Step 1: Generate a Library The first step is to generate an Angular library project within your workspace using the Angular CLI: ...

Continue Reading

Micro Frontends: Working Example

Published: May 11, 2024 Reading Time: 7 min

Now let’s explore a working example to understand it better. Companion resource Companion Project Try the working example in your browser or inspect the full source code behind this article. github.com/omidfarhang/example-projects/examples/qwik-angular-react-rust Open live demo View on GitHub Building a Micro Frontend Architecture with Qwik, Angular, React, and Rust Micro frontend architecture is a practical way to develop scalable and modular web applications. By breaking down a monolithic frontend into smaller, independently deployable modules, teams can work more efficiently and scale their applications with ease. ...

Continue Reading

Micro Frontends: How?

Published: May 9, 2024 Reading Time: 3 min

As web applications grow in complexity, maintaining a consistent tech stack becomes crucial for efficiency and scalability. If you have multiple projects using different frameworks, like Angular and React, unifying them can seem daunting. However, Micro Frontends offer a modern solution to this challenge, allowing you to integrate diverse projects seamlessly. Here’s how you can leverage Micro Frontends to unify your Angular and React projects. Micro Frontends extend the microservices idea to the frontend world. They allow different teams to develop and deploy their frontend applications independently. Each part of the application can be built using different frameworks or libraries and then integrated into a larger application. ...

Continue Reading

Micro Frontends: Why?

Published: May 9, 2024 Reading Time: 5 min

Micro frontends is an architectural pattern for building web applications as a composition of loosely coupled, independently deployable frontend modules. It extends the principles of microservices to the frontend, allowing teams to develop, deploy, and scale parts of the user interface independently. In essence, micro frontends break down a large, monolithic frontend application into smaller, more manageable pieces, each with its own technology stack, development team, and deployment pipeline. Key characteristics of micro frontends Modularity: Micro frontends promote modularity by dividing the user interface into smaller, self-contained units called micro frontends. Each micro frontend represents a cohesive set of features or functionality, allowing teams to focus on developing and maintaining specific parts of the application. ...

Continue Reading