Functional PHP 7 [Video]

Preview in Mapt

Functional PHP 7 [Video]

Luis Atencio

Leverage the power of Functional Programming to write clean, composable, and elegant code with PHP

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
Video
$106.25
RRP $124.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$106.25
$29.99 p/m after trial
RRP $124.99
Subscription
Video
Start 14 Day Trial

Frequently bought together


Functional PHP 7 [Video] Book Cover
Functional PHP 7 [Video]
$ 124.99
$ 106.25
Building PHP RESTful Web Services [Video] Book Cover
Building PHP RESTful Web Services [Video]
$ 124.99
$ 106.25
Buy 2 for $35.00
Save $214.98
Add to Cart

Video Details

ISBN 139781787121454
Course Length2 hours 10 minutes

Video Description

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.

Table of Contents

PHP 7 Crash Course
The Course Overview
Static versus Dynamic Typing
The Closure Class
Higher-Order Functions
Why Consider Functional Programming?
Reasoning About Your Code
Declarative Programming
Testable Functions
Fundamentals of FP
What is Functional Programming?
Pure Functions
Loops versus Recursion
FP Transformation
Functional Evaluation Strategies
Lazy versus Eager Evaluation
Partial Function Application
Currying
Composition
The Composer of Functions
Defining Composition
PRamda Functional Library
Auto-Currying and Composition
Course Summary

What You Will Learn

  • 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

Authors

Table of Contents

PHP 7 Crash Course
The Course Overview
Static versus Dynamic Typing
The Closure Class
Higher-Order Functions
Why Consider Functional Programming?
Reasoning About Your Code
Declarative Programming
Testable Functions
Fundamentals of FP
What is Functional Programming?
Pure Functions
Loops versus Recursion
FP Transformation
Functional Evaluation Strategies
Lazy versus Eager Evaluation
Partial Function Application
Currying
Composition
The Composer of Functions
Defining Composition
PRamda Functional Library
Auto-Currying and Composition
Course Summary

Video Details

ISBN 139781787121454
Course Length2 hours 10 minutes
Read More

Read More Reviews

Recommended for You

Building PHP RESTful Web Services [Video] Book Cover
Building PHP RESTful Web Services [Video]
$ 124.99
$ 106.25
Architect Android apps with MVP, Dagger, Retrofit & RxJava [Video] Book Cover
Architect Android apps with MVP, Dagger, Retrofit & RxJava [Video]
$ 194.99
$ 165.75
Getting Started with Machine Learning for Developers [Video] Book Cover
Getting Started with Machine Learning for Developers [Video]
$ 124.99
$ 106.25
ElasticSearch, LogStash, Kibana ELK #3 - Learn Kibana [Video] Book Cover
ElasticSearch, LogStash, Kibana ELK #3 - Learn Kibana [Video]
$ 194.99
$ 165.75
Beginners' guide to Cloud Computing and OpenStack [Video] Book Cover
Beginners' guide to Cloud Computing and OpenStack [Video]
$ 19.99
$ 17.00
Docker, Apache Mesos & DCOS: Run and manage cloud datacenter [Video] Book Cover
Docker, Apache Mesos & DCOS: Run and manage cloud datacenter [Video]
$ 194.99
$ 165.75