Functional PHP 7

Course

Online

£ 10 VAT inc.

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

Online

Start date

Different dates availableEnrolment now open

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

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

This centre's achievements

2021

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

PHP 7 Crash Course 4 lectures 25:29 The Course Overview This video gives an overview of the entire course. Static versus Dynamic Typing The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
The Closure Class The goal of this video is to explain PHP's internal Closure class.
  • 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
Higher-Order Functions The aim of this video is to explain what higher-order functions are.
  • 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
PHP 7 Crash Course 4 lectures 25:29 The Course Overview This video gives an overview of the entire course. Static versus Dynamic Typing The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
The Closure Class The goal of this video is to explain PHP's internal Closure class.
  • 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
Higher-Order Functions The aim of this video is to explain what higher-order functions are.
  • 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
The Course Overview This video gives an overview of the entire course. The Course Overview This video gives an overview of the entire course. The Course Overview This video gives an overview of the entire course. The Course Overview This video gives an overview of the entire course. This video gives an overview of the entire course. This video gives an overview of the entire course. Static versus Dynamic Typing The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
Static versus Dynamic Typing The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
Static versus Dynamic Typing The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
Static versus Dynamic Typing The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
The aim of this video is to level-up developers to become aware of some of the additions to PHP 7 that favor writing functional programs, in particular, the strict scalar and return types.
  • 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
The Closure Class The goal of this video is to explain PHP's internal Closure class.
  • 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
The Closure Class The goal of this video is to explain PHP's internal Closure class.
  • 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
The Closure Class The goal of this video is to explain PHP's internal Closure class.
  • 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
The Closure Class The goal of this video is to explain PHP's internal Closure class.
  • 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
The goal of this video is to explain PHP's internal Closure class.
  • 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
The goal of this video is to explain PHP's internal Closure class.
  • 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
Higher-Order Functions The aim of this video is to explain what higher-order functions are.
  • 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
Higher-Order Functions The aim of this video is to explain what higher-order functions are.
  • 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
Higher-Order Functions The aim of this video is to explain what higher-order functions are.
  • 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
Higher-Order Functions The aim of this video is to explain what higher-order functions are.
  • 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
The aim of this video is to explain what higher-order functions are.
  • 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
The aim of this video is to explain what higher-order functions are.
  • 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
Why Consider Functional Programming? 3 lectures 17:09 Reasoning About Your Code The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
Declarative Programming Functional programs raise the level of abstraction using a declarative style of development. Let's find out how!
  • 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
Testable Functions The aim of this vide is to understand how functional programming promotes testable functions.
  • 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
Why Consider Functional Programming?. 3 lectures 17:09 Reasoning About Your Code The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
Declarative Programming Functional programs raise the level of abstraction using a declarative style of development. Let's find out how!
  • 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
Testable Functions The aim of this vide is to understand how functional programming promotes testable functions.
  • 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
Reasoning About Your Code The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
Reasoning About Your Code The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
Reasoning About Your Code The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
Reasoning About Your Code The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
The aim of this video is to learn how FP's mathematical foundation makes it easier for developers to reason about.
  • 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
Declarative Programming Functional programs raise the level of abstraction using a declarative style of development Loops versus Recursion...

Additional information

No previous experience with functional programming is needed

Functional PHP 7

£ 10 VAT inc.