Get Free Shipping on orders over $79
Typed PHP : Stronger Types For Cleaner Code - Christopher Pitt

Typed PHP

Stronger Types For Cleaner Code

By: Christopher Pitt

Paperback | 4 August 2016

At a Glance

Paperback


$40.75

or 4 interest-free payments of $10.19 with

 or 

Ships in 5 to 7 business days

Discover how stronger types mean cleaner, more efficient, and optimized PHP applications. This unique book looks at typed PHP: PHP types, strings, regular expressions, and more from PHP 7 as found in standard PHP libraries, user libraries, extensions, and cross-compilers. You'll see how to create a set of reusable tools that unify and ease the scalar types of PHP.

PHP has a rich history and a dominant place on the web. It has achieved much despite language inconsistencies and difficulties. Bjarne Stroustrup once said: "There are only two kinds of languages: the ones people complain about and the ones nobody uses".

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
Who This Book Is For
Experienced web developers and PHP programmers.

More in Web Programming

Coding For Dummies, All New Edition : For Dummies (Computer/Tech) - Paul McFedries
Python All-in-One For Dummies : 3rd Edition - John C. Shovic

RRP $74.95

$55.75

26%
OFF
Web Engineering : Theory and Practice - Jeremiah Downey
Learning Go : An Idiomatic Approach to Real-World Go Programming - Jon Bodner
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
The Art of SEO : Mastering Search Engine Optimization - Eric Enge
Python Cookbook : Recipes for Mastering Python : 3rd Edition - David Beazley
Developing Graphics Frameworks with Java and OpenGL - James Cona
Learning Spark : Lightning-Fast Data Analytics - Brooke Wenig

RRP $152.00

$73.75

51%
OFF
Python for Finance 2e : Mastering Data-Driven Finance - Yves Hilpisch