Uncover the secrets of functional programming with PHP to ensure your applications are as great as they can beAbout This BookGreatly improve your code quality, testability, and readability using modern functional programming techniquesGet a solid foundation in functional programming techniques and methodologiesStep-by-step learn the concepts to architect more robust codeWho This Book Is ForIf 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 LearnDeclare functions/callables and find out how to manipulate and call themWrite pure functions to get more robust code that can be easily testedLearn to compose function using various techniquesUse a functional approach to find readable solutions to common issuesUtilize performance optimization techniques such as laziness, memorization, and parallelizationBuild the business logic of applications with the functional paradigmTest functional code and know how to speed up test runs using parallel testingUnderstand the impact and limitation of functional programming in PHPIn DetailA 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 approachThis 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.
Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in A, B, BG, CY, CZ, D, DK, EW, E, FIN, F, GR, HR, H, IRL, I, LT, L, LR, M, NL, PL, P, R, S, SLO, SK ausgeliefert werden.