Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Typed PHP - Christopher Pitt

Typed PHP

Stronger Types For Cleaner Code
Buch | Softcover
76 Seiten
2016 | 1st ed.
Apress (Verlag)
978-1-4842-2113-6 (ISBN)
CHF 34,40 inkl. MwSt
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 takea 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.

Christopher Pitt is an expert web developer, PHP programmer/coder and writer, working at SilverStripe. He usually works on application architecture, though sometimes you'll find him building compilers or robots.

1. The State of PHP.- 2. Structure.- 3. Extensions.- 4. Design.- 5. Implementation.

Erscheinungsdatum
Zusatzinfo 7 Illustrations, color; 1 Illustrations, black and white; XVIII, 76 p. 8 illus., 7 illus. in color.
Verlagsort Berkley
Sprache englisch
Maße 155 x 235 mm
Themenwelt Mathematik / Informatik Informatik Netzwerke
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Compilerbau
Mathematik / Informatik Informatik Web / Internet
Schlagworte PHP
ISBN-10 1-4842-2113-3 / 1484221133
ISBN-13 978-1-4842-2113-6 / 9781484221136
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und Anwendungen

von Hanspeter Mössenböck

Buch | Softcover (2024)
dpunkt (Verlag)
CHF 41,85
a beginner's guide to learning llvm compiler tools and core …

von Kai Nacke

Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
CHF 69,80