Functional Programming in PHP

A Php[architect] Guide

By Simon Holywell, Kevin Bruce, Kevin Bruce, Kevin Bruce, Kevin Bruce, Oscar Merida...
Details php[architect]
ISBN 9781940111056
Language English
Price 368.00 kr.
Paperback

Not in stock

Not in stock. Order now and have it delivered in appr. 12 working days

Many programming languages have embraced FunctionalProgramming paradigms to augment the tools available. It alsofacilitates 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, providinga more succint way to tackle common problems. However, makingthe leap from the more commmon imperative style requiresunderstanding how and when to best use lambdas, closures,recursion, and more.Functional Programming will show you how to leverage these newlanguage features by understanding functional programmingprinciples. Plenty of examples are provided to illustrate eachconcept as it's introduced and to show how to implement it withPHP. You'll learn how to use map/reduce, currying, composition,and more. You'll see what external libraries are available andnew language features are proposed to extend PHP's functionalprogramming capabilities.