Refactoring to Collections:The Definitive guide to Curing the Common Loop + (Exercises and solutions)

2016 | ISBN: | English | 288 pages | PDF | 158 MB

"Refactoring to Collections" is a book and video course that teaches you how to apply functional programming principles to write clean, maintainable PHP.

Learn how to use collection pipelines to break down ugly, complex functions into a series of simple transformations, free of loops, complex conditionals, and temporary variables.

The first section of the book focuses on teaching you the theory and fundamentals you need to to start applying functional programming principles to your code.

You’ll learn about the difference between imperative and declarative code, how to use higher order functions to remove duplication, and how to reimplement fundamental operations like map, reduce, and filter from first principles.

The second section of the book and the companion screencasts are a deep dive into problem solving with Laravel’s Collection library.

Through 15 in-depth examples, we walk through everything from beginner to expert level problems, using advanced operations like zip and transpose, and even extending the library with our own custom transformations.

DOWNLOAD
(Buy premium account for maximum speed and resuming ability)