Functional PHP

Nonfiction, Computers, Programming, Programming Languages, Internet
Cover of the book Functional PHP by Gilles Crettenand, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Gilles Crettenand ISBN: 9781785886911
Publisher: Packt Publishing Publication: February 15, 2017
Imprint: Packt Publishing Language: English
Author: Gilles Crettenand
ISBN: 9781785886911
Publisher: Packt Publishing
Publication: February 15, 2017
Imprint: Packt Publishing
Language: English

Uncover the secrets of functional programming with PHP to ensure your applications are as great as they can be

About This Book

  • Greatly improve your code quality, testability, and readability using modern functional programming techniques
  • Get a solid foundation in functional programming techniques and methodologies
  • Step-by-step learn the concepts to architect more robust code

Who This Book Is For

If you are a PHP developer with knowledge of object-oriented programming, this book is for you. You do not need prior experience with functional programming.

What You Will Learn

  • Declare functions/callables and find out how to manipulate and call them
  • Write pure functions to get more robust code that can be easily tested
  • Learn to compose function using various techniques
  • Use a functional approach to find readable solutions to common issues
  • Utilize performance optimization techniques such as laziness, memorization, and parallelization
  • Build the business logic of applications with the functional paradigm
  • Test functional code and know how to speed up test runs using parallel testing
  • Understand the impact and limitation of functional programming in PHP

In Detail

A functional approach encourages code reuse, greatly simplifies testing, and results in code that is concise and easy to understand. This book will demonstrate how PHP can also be used as a functional language, letting you learn about various function techniques to write maintainable and readable code.

After a quick introduction to functional programming, we will dive right in with code examples so you can get the most of what you've just learned. We will go further with monads, memoization, and property-based testing. You will learn how to make use of modularity of function while writing functional PHP code.

Through the tips and best practices in this book, you'll be able to do more with less code and reduce bugs in your applications. Not only will you be able to boost your performance, but you will also find out how to eliminate common loop problems. By the end of the book, you will know a wide variety of new techniques that you can use on any new or legacy codebase.

Style and approach

This is an easy-to-follow, definitive guide on developing applications using a functional paradigm with PHP. It will guide you through functional programming with the help of real-life examples.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Uncover the secrets of functional programming with PHP to ensure your applications are as great as they can be

About This Book

Who This Book Is For

If you are a PHP developer with knowledge of object-oriented programming, this book is for you. You do not need prior experience with functional programming.

What You Will Learn

In Detail

A functional approach encourages code reuse, greatly simplifies testing, and results in code that is concise and easy to understand. This book will demonstrate how PHP can also be used as a functional language, letting you learn about various function techniques to write maintainable and readable code.

After a quick introduction to functional programming, we will dive right in with code examples so you can get the most of what you've just learned. We will go further with monads, memoization, and property-based testing. You will learn how to make use of modularity of function while writing functional PHP code.

Through the tips and best practices in this book, you'll be able to do more with less code and reduce bugs in your applications. Not only will you be able to boost your performance, but you will also find out how to eliminate common loop problems. By the end of the book, you will know a wide variety of new techniques that you can use on any new or legacy codebase.

Style and approach

This is an easy-to-follow, definitive guide on developing applications using a functional paradigm with PHP. It will guide you through functional programming with the help of real-life examples.

More books from Packt Publishing

Cover of the book Cloud-Native Applications in Java by Gilles Crettenand
Cover of the book Liferay Beginners Guide by Gilles Crettenand
Cover of the book Instant FreeMarker Starter by Gilles Crettenand
Cover of the book Catalyst 5.8: the Perl MVC Framework by Gilles Crettenand
Cover of the book Building Single-page Web Apps with Meteor by Gilles Crettenand
Cover of the book Getting Started with Citrix® Provisioning Services 7.0 by Gilles Crettenand
Cover of the book Mastering Chef Provisioning by Gilles Crettenand
Cover of the book Go Cookbook by Gilles Crettenand
Cover of the book ArcGIS Blueprints by Gilles Crettenand
Cover of the book Swift Cookbook by Gilles Crettenand
Cover of the book Architecting the Industrial Internet by Gilles Crettenand
Cover of the book Unreal Engine Blueprints Visual Scripting Projects by Gilles Crettenand
Cover of the book Building Bots with Node.js by Gilles Crettenand
Cover of the book OpenStack for Architects by Gilles Crettenand
Cover of the book Ext GWT 2.0: Beginner's Guide by Gilles Crettenand
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy