Functional PHP

Functional PHP

Luis Atencio
Buy on Leanpub

Table of Contents

Functional PHP

  • Thinking Functionally in PHP?
    • Introduction
    • Which PHP version to use?
    • Hello FP
    • Declarative coding
    • Designing for immutability and statelessness
    • Pure functions fix side effects
    • Referential Transparency
    • A look into functional decomposition
    • To sum up, what is functional programming?
  • Higher-order PHP
    • PHP’s first-class, higher-order functions
    • Using containers improve your APIs
    • Closures
    • Functional vs Object-Oriented Summary Table
  • Point-free Data Flows and currying
  • Error handling with Monads
  • React: The Promise Monad
  • Reactive Programming in PHP
  • Functional Domain Modeling
  • Object-oriented in the large, functional in the small
Functional PHP/Functional Domain Modeling

Functional Domain Modeling

Under Construction

Previous

Reactive Programming in PHP

Up next

Object-oriented in the large, functional in the small

In this chapter

  • Functional Domain Modeling