Functional PHP 7 [Video]

More Information
  • Find out about PHP7’s internal closure object to write very powerful higher-order functions
  • Explore the benefits of writing functionally versus other paradigms
  • Get to know about the fundamental principles of functional programming applied to PHP
  • See function evaluation strategies in-depth and simulate a lazy invocation
  • Tackle real-world scenarios that involve impure operations such as data validation and error handling
  • Learn about specific techniques such as currying and partial function application
  • Get exposure to a completely functional PHP library called PRamda

Functional Programming offers a fundamental shift in the way you design your applications by focusing on the use and composition of pure functions to create programs that are robust, extensible, and easy to reason about. The traditional implementation of PHP codebase has been in the object-oriented paradigm. This course teaches you to think about coding problems in terms of the composition of pure functions.

The course starts by covering PHP7’s internal closure object, enabling you to write very powerful functions. This course will help you think about problem solutions from the perspective of combining pure code-like pieces of a puzzle. Then, it provides helpful techniques and insights such as lazy function evaluation and currying that facilitate composing functions together. Finally, the course finalizes with taking an imperative program, and using pure function composition and learning about a functional library called PRamda.

Style and Approach

This course follows an easy-to-follow, from theoretical to practical, approach to bring your applications up to a functional way of thinking. Each step in the course is self-contained and moves you closer to the end goal you seek: elegant code through functional composition.

  • Harness the power and depth of PHP 7 when it comes to modularity and writing concise functions
  • Learn powerful techniques to create very elegant, declarative, data flows that require invoking impure operations
  • Refactor imperative code to be more testable, robust, and easier to debug
Course Length 2 hours 10 minutes
ISBN 9781787121454
Date Of Publication 19 Jan 2017


Luis Atencio

Luis Atencio (@luijar) is a Staff Software Engineer for Citrix Systems in Ft. Lauderdale, FL. He has a BSc and an MSc in Computer Science and now works full time developing and architecting web applications using PHP, JavaScript, and Java platforms. Luis is also very involved in the community and has presented on several occasions at conferences and local meet-ups. 

When he is not coding, Luis writes magazine articles for PHPArch and DZone. Luis is also the author of Functional Programming in JavaScript,Manning 2016, RxJS in Action, Manning 2016, and Functional PHP.

Frequently bought together:
PHP 7 Simplified

PHP 7 Simplified

RRP $124.99 Save 80%
View Details
PHP 7 Programming Solutions [Video]

PHP 7 Programming Solutions [Video]

RRP $99.99 Save 80%
View Details