Functional PHP 7
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Leverage the power of Functional Programming to write clean, composable, and elegant code with PHP.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.About the AuthorLuis 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 2017, and Functional PHP (Leanpub).
Facilities
Location
Start date
Start date
About this course
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
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 4 years
Subjects
- Programming
- Typing
- Writing
- Composition
- PHP
- Javascript
- Javascript training
- Returns
Course programme
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Compare and contrast the differences in static versus dynamically typed languages
- Introduce PHP 7's strict type statement
- Understand Code functions using scalar types to showcase how the PHP runtime can warn developers about type violations
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Explain what a Closure is and reveal that all functions are instances of this type
- Understand the proof using code that functions resolve to instances of Closure
- Bind function into objects using the Closure methods
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Define HO functions and begin with a simple example that also showcases a simple scenario of a strategy pattern
- Implement an HO function that maps to several elements in an array
- Show examples of the HO function that returns other functions; with it implement strategies such as perform text formatting and then write to a file
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Explain what declarative programming is
- Show an example of declarative code
- Show a simplified view of a PHP functional programming to appreciate its declarative nature
- Explain functions as the main unit of work
- FP enforces constraints on the input and outputs of your application. Push the boundaries towards singularity
- Equational reasoning involves splitting a large expression into referentially transparent smaller functions that are much easier to test
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Explain what declarative programming is
- Show an example of declarative code
- Show a simplified view of a PHP functional programming to appreciate its declarative nature
- Explain functions as the main unit of work
- FP enforces constraints on the input and outputs of your application. Push the boundaries towards singularity
- Equational reasoning involves splitting a large expression into referentially transparent smaller functions that are much easier to test
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
- Demonstrate how it lessens the cognitive load in the developer's mind
- Show how side effects are detrimental to the overall robustness of the code
- Talk about programs as using only immutable data
Additional information
Functional PHP 7