Functional Programming in PHP: a php[architect] guide - Brossura

Holywell, Simon

 
9781940111056: Functional Programming in PHP: a php[architect] guide

Sinossi

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.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Informazioni sull?autore

Simon Holywell is the lead developer at Mosaic, Brighton and is passionate about web application development and motorcycles. His first public project was written with PHP 3, and since then, he has worked with every version of PHP and dabbled in Python, Scala, C, JavaScript, and more. He is also the author of the ssdeep extensions for PHP's PECL, Facebook's HipHop Virtual Machine (HHVM), and MySQL. Blog: http://simonholywell.com Twitter: @Treffynnon

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.