Functional Programming in PHP
summary
An overview of functional programming concepts applied to PHP, covering history and relevance, and arguing that PHP is capable of the paradigm. Discusses technical FP features—immutability, composition, referential transparency, pure functions—and higher-level abstractions like functors and monads, with focus on how to use them to build real PHP applications.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 2:15What is functional programming
- 4:50FP vs OOP approaches
- 7:03Cognitive load and pure functions
- 10:19PHP expressions for FP
- 13:18Side effects and elimination
- 18:46Objects and functional purity
- 25:14Functional PHP library
- 30:12Function composition patterns
- 33:40IO operations and monads
- 38:34Monads for error handling
- 40:43Future of functional PHP
- 41:47Recommendations and conclusion
related talks
28mFunctional Programming basics for PHP developers
51mFunctionality and Asynchronicity in PHP7
45mFunctional Programming — What's the Point?
48mFunctional Programming
43mPure Functional Programming in JavaScript
49mFunctional Programming Essentials
45mFunctional programming vs. Object-oriented Programming
59mForget OO and Think Functionally!
