Alain Perkaz A passionate and disciplined software engineer.

Stories by Alain Perkaz

Advanced Electron.js Architecture

Advanced Electron.js architecture

Explore the optimal architectures for Electron.js apps of low, medium, and high complexity that minimize performance degradations.

Alain Perkaz
Oct 5, 2023 ⋅ 11 min read
Type Safe CSS Modules Typescript

How to write type-safe CSS Modules

Having the correct CSS class names in place ensures that the intended styles are applied to a given component, preventing the styles from being misplaced due to typography errors.

Alain Perkaz
Apr 19, 2023 ⋅ 4 min read
Dependency Boundaries Typescript

Managing dependency boundaries in TypeScript

Proper dependency management and following the architectural design during implementation are vital aspects of a healthy and maintainable codebase.

Alain Perkaz
Sep 12, 2022 ⋅ 4 min read
Typescript Date Strings

Handling date strings in TypeScript

Improve the developer experience and reduce potential bugs by learning to type date strings in TypeScript.

Alain Perkaz
Apr 4, 2022 ⋅ 3 min read
Nodejs Process Management Production

Best practices for Node.js process management with PM2

Consider a few best practices for production process management in Node.js applications and explore PM2 as a solution.

Alain Perkaz
Oct 7, 2021 ⋅ 4 min read
Improving Error Handling Typescript Exhaustive Type Checking

Improving TypeScript error handling with exhaustive type checking

Improve the readability of your TypeScript code with an improved approach to error handling that uses exhaustive type checking to implement type safety.

Alain Perkaz
Aug 9, 2021 ⋅ 6 min read