Veze, linkovi
Kompjuter biblioteka
Korpa
Functional PHP

PHP I MYSQL PHP I MYSQL

Functional PHP

Autor: Gilles Crettenand
Broj strana: 342
ISBN broj: 9781785880322
Izdavač: PACKT PUBLISHING PACKT PUBLISHING
Godina izdanja: 2017.

                 
Twitter   Facebook   Linkedin   Pinterest   Email
                 
Predlog za prevod

 

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

Book Description

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.

Authors

Gilles Crettenand

Gilles Crettenand is a passionate and enthusiastic software developer. He thrives when solving challenges and is always on the lookout for a better way to implement his solutions. He has a bachelor's degree in computer science from the School of Engineering and Management Vaud in Switzerland and has more than 6 years of experience as a web developer.

Most of his professional career has been spent using PHP, developing a variety of applications ranging from accountability software to e-commerce solutions and CMS. At nights, however, he likes to try other languages, dabbling with Haskell, Scala, and more recently, PureScript, Elm, and Clojure.

Being a certified scrum master, he understands the need to use the right tool for the job and maintaining a readable and maintainable codebase using the best techniques and practices available.

Table of Contents

Chapter 1: Functions as First Class Citizens in PHP
Chapter 2: Pure Functions, Referential Transparency, and Immutability
Chapter 3: Functional Basis in PHP
Chapter 4: Composing Functions
Chapter 5: Functors, Applicatives, and Monads
Chapter 6: Real-Life Monads
Chapter 7: Functional Techniques and Topics
Chapter 8: Testing
Chapter 9: Performance Efficiency
Chapter 10: PHP Frameworks and FP
Chapter 11: Designing a Functional Application
Chapter 12: What Are We Talking about When We Talk about Functional Programming

 

Budite prvi koji će ostaviti komentar.

Ostavite komentar Ostavite komentar

 

Preporučujemo

PHP 5

PHP 5

Popust cena:
880.00 rsd

PHP 7 objektno-orijentisano modularno programiranje (HTML 5, CSS 3, JavaScript, XML)

PHP 7 objektno-orijentisano modularno programiranje (HTML 5, CSS 3, JavaScript, XML)

Popust cena:
1000.00 rsd

Veze, linkovi
Linkedin Twitter Facebook
 
     
 
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272