Tal Joffe
Building software that scales with Typescript
#1about 3 minutes
Defining the core principles of scalable software
A scalable project is defined by having readable code, a clear structure, and strong enforcement of its architecture.
#2about 2 minutes
Improving code readability with explicit type signatures
TypeScript function signatures clarify parameter and return types, allowing developers to understand behavior without reading the implementation.
#3about 5 minutes
Separating data from logic for better structure
By separating data objects from the logic that manipulates them, you can adhere to the Single Responsibility Principle and create a more maintainable structure.
#4about 6 minutes
Applying high-level architectural patterns like Clean Architecture
Organize your project into stable layers based on Clean Architecture principles, with a clear folder structure for components like APIs, managers, and data access.
#5about 5 minutes
Enforcing structure with interfaces and design patterns
Use TypeScript interfaces to enforce consistent design patterns, such as Command Query Separation (CQS), and establish clear conventions for your components.
#6about 4 minutes
Reducing the overhead and verbosity of TypeScript
Minimize TypeScript's boilerplate by leveraging type inference, preferring composition over inheritance, and using type utilities to create derivative types.
#7about 4 minutes
Measuring scalability and building confidence with tests
Evaluate your project's scalability by how easy it is to locate code for changes and build confidence using the testing trophy model, which prioritizes integration tests.
#8about 2 minutes
How to migrate legacy projects to a clean architecture
When migrating a legacy codebase, start by refactoring the peripheral layers like data access and gateways before tackling the core business logic.
#9about 2 minutes
Why folder structure still matters with modern IDEs
A deliberate folder structure is crucial for discoverability when you don't know a file's exact name and helps prevent code duplication and coupling.
#10about 2 minutes
A practical defense of the anemic domain model
While often labeled an anti-pattern, separating data from methods into an anemic domain model can be a very useful and practical pattern for structuring code.
#11about 2 minutes
A minimal mocking strategy for integration tests
For robust integration tests, mock as little as possible, focusing only on true external dependencies like third-party services to ensure tests reflect production behavior.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
00:51 MIN
Understanding TypeScript's origins and role in scalability
All you need is types
22:24 MIN
Why TypeScript is essential for building large applications
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
32:12 MIN
Strategies for migrating large codebases to TypeScript
WeAreDevelopers LIVE - Whats Nuxt and Next for app development, 20 years AJAX and more
34:54 MIN
Summary of using types for scalable codebases
All you need is types
03:28 MIN
Achieving scalability with readability, structure, and enforcement
All you need is types
03:20 MIN
Why JavaScript and TypeScript dominate modern development
Modern Headless Commerce with Vendure
30:50 MIN
How to convince your team to adopt TypeScript
4 Steps from JavaScript to TypeScript
04:14 MIN
Evaluating the pros and cons of TypeScript adoption
4 Steps from JavaScript to TypeScript
Featured Partners
Related Videos
All you need is types
Tal Joffe
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
Nathalia Rus
4 Steps from JavaScript to TypeScript
Phil Nash
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Lies we Tell Ourselves As Developers
Stefan Baumgartner
Advanced Typing in TypeScript
Lars Hupel
Where we're going we don't need JavaScript - Programming with Type Annotations
Peter Kröner
Do TypeScript without TypeScript
Simone Sanfratello
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Programador Full-Stack Senior TypeScript
TRBL Services
Municipality of Madrid, Spain
Remote
Senior
API
REST
Scrum
Ionic
+10

Lead Backend Developer (TypeScript)
Slalom Consulting
Charing Cross, United Kingdom
Senior
API
REST
NoSQL
DevOps
Docker
+7

TypeScript Developer Full Stack - Fintech
Client Server
Charing Cross, United Kingdom
Remote
€50-60K
API
React
Python
+6

Senior Software Engineer TypeScript Node.js
Client Server
Sheffield, United Kingdom
Remote
€80K
Senior
API
REST
MySQL
+14

Senior Software Engineer TypeScript Node.js
Client Server
Newcastle upon Tyne, United Kingdom
Remote
€80K
Senior
API
REST
MySQL
+14

Senior Software Engineer TypeScript Node.js
Client Server
Birmingham, United Kingdom
Remote
€80K
Senior
API
REST
MySQL
+14

Senior Software Engineer TypeScript Node.js
Client Server
Manchester, United Kingdom
Remote
€80K
Senior
API
REST
MySQL
+14

Senior Software Engineer TypeScript Node.js
Client Server
Leeds, United Kingdom
Remote
€80K
Senior
API
REST
MySQL
+14

Senior Software Engineer TypeScript Node.js
Client Server
Bristol, United Kingdom
Remote
€80K
Senior
API
REST
MySQL
+14