My TypeScript Software Design & Architecture book just prelaunched! Check out solidbook.io.
Close

Articles

23

Showing 23 article(s) about "TypeScript"



Decoupling Logic with Domain Events [Guide] - Domain-Driven Design w/ TypeScript
Sep 26th, 2019 / 22 min read
In this article, we'll walk through the process of using Domain Events to clean up how we decouple complex domain logic across the...
Does DDD Belong on the Frontend? - Domain-Driven Design w/ TypeScript
Sep 24th, 2019 / 18 min read
Should we utilize Domain-Driven Design principles and patterns in front-end applications? How far does domain modeling reach from ...
How to Setup a TypeScript + Node.js Project
Aug 29th, 2019 / 10 min read
In this guide, we walk through the process of creating a TypeScript project from scratch with cold-reloading, and scripts for buil...
What's Unscalable about JavaScript? | TypeScript OOP
Aug 21st, 2019 / 2 min read
TypeScript is called JavaScript that scales. What's so unscalable about JavaScript?
Functional Error Handling with Express.js and DDD | Enterprise Node.js + TypeScript
Aug 14th, 2019 / 16 min read
How to expressively represent (database, validation and unexpected) errors as domain concepts using functional programming concept...
An Introduction to Domain-Driven Design - DDD w/ TypeScript
Jul 30th, 2019 / 13 min read
Domain-Driven Design is the approach to software development which enables us to translate complex problem domains into rich, expr...
Handling Collections in Aggregates (0-to-Many, Many-to-Many) - Domain-Driven Design w/ TypeScript
Jul 25th, 2019 / 10 min read
In this article, we discuss how we can use a few CQS principles to handle unbounded 0-to-many or many-to-many collections in aggre...
Challenges in Aggregate Design #1 - Domain-Driven Design w/ TypeScript
Jul 25th, 2019 / 5 min read
In this series, we answer common questions in aggregate design. Here's an article orignating from the question, "How can a domain ...
How to Design & Persist Aggregates - Domain-Driven Design w/ TypeScript
Jul 24th, 2019 / 28 min read
In this article, you'll learn how identify the aggregate root and encapsulate a boundary around related entities. You'll also lear...
Intention Revealing Interfaces [w/ Examples] - Domain-Driven Design w/ TypeScript
Jul 9th, 2019 / 10 min read
An intention revealing interface is a standard for writing code that is expressive enough to adequately explain it's purpose witho...
All about TypeScript Static Members | TypeScript OOP
Jul 7th, 2019 / 6 min read
In this blog post, I explain the static keyword and when you might want to make attributes and methods a member of the class, rath...
TypeScript & JavaScript Getters and Setters: Are they useless?
Jul 1st, 2019 / 6 min read
In this blog post, we talk about the utility of getters and setters in modern web development. Are they useless? When does it make...
Better Software Design with Application Layer Use Cases | Enterprise Node.js + TypeScript
Jun 25th, 2019 / 16 min read
In this article, we explore how organizing application logic as Use Cases in the application layer helps to make large typescript ...
Implementing DTOs, Mappers & the Repository Pattern using the Sequelize ORM [with Examples] - DDD w/ TypeScript
Jun 20th, 2019 / 14 min read
There are several patterns that we can utilize in order to handle data access concerns in Domain-Driven Design. In this article, w...
Name, Construct & Structure | Organizing Readable Code - Part 1
Jun 15th, 2019 / 6 min read
Naming files & folders well, using well-understood technical constructs and strategically organizing files well are three ways to ...
Understanding Domain Entities [with Examples] - DDD w/ TypeScript
May 28th, 2019 / 12 min read
Entities are the first natural place we should aim to place business logic in domain-driven applications. In this article, we talk...
Knowing When CRUD & MVC Isn't Enough | Enterprise Node.js + TypeScript
May 24th, 2019 / 13 min read
MVC the granddaddy of application architectures. In this article, we explore common MVC patterns, the responsibilities of the "M"-...
Flexible Error Handling w/ the Result Class | Enterprise Node.js + TypeScript
May 15th, 2019 / 9 min read
Purposefully throwing errors can have several negative side effects to the readability and traceability of your code. In this arti...
REST-first design is Imperative, DDD is Declarative [Comparison] - DDD w/ TypeScript
May 15th, 2019 / 11 min read
A comparison between designing Node.js applications using REST-first design and Domain-Driven Design.
Clean & Consistent Express.js Controllers | Enterprise Node.js + TypeScript
May 11th, 2019 / 8 min read
In this article, we explore how to structure a clean and consistent Express.js controller by using abstraction and encapsulation w...
TypeScript vs. JavaScript [Pros / cons]
May 11th, 2019 / 4 min read
TypeScript is arguably one of the best things to come to the JavaScript world helping developers comfortably create complex enterp...
Value Objects - DDD w/ TypeScript
Apr 7th, 2019 / 6 min read
Value Objects are one of the primary components of Domain-Driven Design. Here's a simple Value Object class in TypeScript.
When To Use TypeScript - A Detailed Guide Through Common Scenarios
Apr 6th, 2019 / 15 min read
Strap yourself in. In this guide, we compare when it's absolutely vital to be using TypeScript, the strictly-typed programming lan...