PHP Tek 2023 PHP Tek 2023 Login
Immutability to Save an Ever-Changing World
Speaker: Andrew Cassell
Immutability to Save an Ever-Changing World

Level: Intermediate (some prior knowledge necessary)
Length: Standard Session (45-60 minutes)

Description:
Want to build software that is more testable, easier to modify, and has fewer lines of code? Architecture with more immutable objects that are always in a valid state is the most important lesson I have learned in building better software applications. Using immutable value objects will lead to less checking, fewer bugs, and more DRY code, and will help avoid the “spooky action at a distance” problem in PHP. We will also learn how to use immutable objects and immutable collections to improve design of our mutable entities. Lastly, we’ll see how our immutable modeling approach can drastically reduce the complexity of things in our systems that are mutable.

Thanks to our PHP Tek 2026 sponsors!
PHP Architect
(Platinum)
PHPScore
(Gold)
Displace
(Gold)
Previous Sponsors
PHP Architect
PHP Architect
PHP Tek 2025, PHP Tek 2024, PHP Tek 2023
Prompt
Prompt
PHP Tek 2025
WPConcierge
WPConcierge
PHP Tek 2025
Roave
Roave
PHP Tek 2025
typesense
typesense
PHP Tek 2025
Geocod.io
Geocod.io
PHP Tek 2025
Vehikl
Vehikl
PHP Tek 2025, PHP Tek 2024
Laravel
Laravel
PHP Tek 2025
OSMI
OSMI
PHP Tek 2025, PHP Tek 2024, PHP Tek 2023
Clayton Kendall LLC
Clayton Kendall LLC
PHP Tek 2025
NativePHP
NativePHP
PHP Tek 2025
Compassionate Coding
Compassionate Coding
PHP Tek 2024
Private Packagist
Private Packagist
PHP Tek 2024
Zend
Zend
PHP Tek 2024
SensioLabs
SensioLabs
PHP Tek 2024
Vonage
Vonage
PHP Tek 2024
PubNub
PubNub
PHP Tek 2024
FusionAuth
FusionAuth
PHP Tek 2024
DevITjobs
DevITjobs
PHP Tek 2024
PhpStorm
PhpStorm
PHP Tek 2023
Infobip
Infobip
PHP Tek 2023
PhoneBurner
PhoneBurner
PHP Tek 2023
platform.sh
platform.sh
PHP Tek 2023