Oreilly - Functional PHP 7
by Luis Atencio | Publisher: Packt Publishing | Release Date: January 2017 | ISBN: 9781787121454
Leverage the power of Functional Programming to write clean, composable, and elegant code with PHPAbout This VideoHarness the power and depth of PHP 7 when it comes to modularity and writing concise functionsLearn powerful techniques to create very elegant, declarative, data flows that require invoking impure operationsRefactor imperative code to be more testable, robust, and easier to debugIn DetailFunctional 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.
- Chapter 1 : PHP 7 Crash Course
- The Course Overview 00:03:45
- Static versus Dynamic Typing 00:05:39
- The Closure Class 00:05:19
- Higher-Order Functions 00:10:46
- Chapter 2 : Why Consider Functional Programming?
- Reasoning About Your Code 00:08:19
- Declarative Programming 00:03:38
- Testable Functions 00:05:13
- Chapter 3 : Fundamentals of FP
- What is Functional Programming? 00:03:15
- Pure Functions 00:06:27
- Loops versus Recursion 00:11:41
- FP Transformation 00:09:32
- Chapter 4 : Functional Evaluation Strategies
- Lazy versus Eager Evaluation 00:14:01
- Partial Function Application 00:05:18
- Currying 00:11:58
- Chapter 5 : Composition
- The Composer of Functions 00:02:02
- Defining Composition 00:06:54
- PRamda Functional Library 00:06:21
- Auto-Currying and Composition 00:06:23
- Course Summary 00:04:04
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.