Functional Programming in PHP

A Php[architect] Guide

Af Simon Holywell, Kevin Bruce, Kevin Bruce, Kevin Bruce, Kevin Bruce, Oscar Merida...
Detaljer php[architect]
ISBN 9781940111056
Sprog Engelsk
Pris 368,00 kr.
Paperback

Ikke på lager

Ikke på lager. Bestil nu og få den leveret om ca. 12 hverdage

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.