Search Books

Functional Programming in PHP: a php[architect] guide

Author Simon Holywell
Publisher php[architect]
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
19.00 USD
🛒 Buy New on Amazon 🇺🇸 🏷 Buy Used — $16.93

✓ Usually ships in 24 hours

Share:
Book Details
ISBN / ASIN1940111056
ISBN-139781940111056
AvailabilityUsually ships in 24 hours
Sales Rank1,893,942
MarketplaceUnited States 🇺🇸

Description

Many programming languages have embraced Functional Programming paradigms to augment the tools available. It also facilitates writing code that is easier to understand, easier to test, and able to take advantage of parallelization. PHP introduced anonymous function and closures in 5.3, providing a more succinct way to tackle common problems. However, making the leap from the more common imperative style requires understanding how and when to best use lambdas, closures, recursion, and more. Functional Programming will show you how to leverage these new language features by understanding functional programming principles. Plenty of examples are provided to illustrate each concept as it’s introduced and to show how to implement it with PHP. You’ll learn how to use map/reduce, currying, composition, and more. You’ll see what external libraries are available and new language features are proposed to extend PHP’s functional programming capabilities.