© Rob Aley 2017

Rob Aley, Pro Functional PHP Programming, https://doi.org/10.1007/978-1-4842-2958-3_5

5. Strategies for High-Performance Applications

Rob Aley

(1)Oxford, UK

In the first part of this book, I covered the theory behind functional programming, outlining how to write code in a functional style. I touched on some of the benefits of functional programming, but in this second part I’m going to double down on the benefits by creating some programs that demonstrate some of the real-life tasks that functional programming can make easier.

This chapter looks at using functional programming to improve the performance of your scripts. In the past, PHP has gotten a bad rap in the performance department, which is not entirely unsurprising given it ...

Get Pro Functional PHP Programming: Application Development Strategies for Performance Optimization, Concurrency, Testability, and Code Brevity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.