Sign up
Forgot password?
FAQ: Login

Pitt Christopher. Typed PHP: Stronger Types For Cleaner Code

  • pdf file
  • size 2,91 MB
Pitt Christopher. Typed PHP: Stronger Types For Cleaner Code
Apress, 2016. — 94 p. — ISBN: 1484221133. — ISBN13: 978-1-4842-2114-3
This book is for experienced web developers and PHP programmers.
PHP is one of those languages that everybody uses, yet that's often seen as a good reason to ignore the bad parts and just get stuff done. We're all for getting stuff done, and to that end, the author has used Plain Ol' PHP for many years. It's always bugged him how procedural PHP is, in an ecosystem of OOP libraries and frameworks. So he decided to take a deeper look at building a stronger type system on top of PHP. That's the goal of this book.
What You'll Learn
Discover the fundamentals of PHP strings, regex, underscores, native function inconsistencies, and more
Examine the structure of PHP types including boxing, regex, namespace functions, composer autoload, null problem, optional values, and more
Work with extensions like vagrant + phansible, provisioning, vagrant commands, SPL types, scalar objects, zephir, and more
Design using scalar, SPL, zephir, structure types, resolving types, chaining, combining number types, PHPUnit, packaging, and more
Plan for the future using a case study example
Contents at a Glance: The State of PHP, Structure, Extensions, Design, Implementation
  • Sign up or login using form at top of the page to download this file.
  • Sign up
Up