Typed PHP Typed PHP

Typed PHP

Stronger Types For Cleaner Code

    • 16,99 €
    • 16,99 €

Beschreibung des Verlags

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 moreExamine the structure of PHP types including boxing, regex, namespace functions, composer autoload, null problem, optional values, and moreWork with extensions like vagrant + phansible, provisioning, vagrant commands, SPL types, scalar objects, zephir, and moreDesign using scalar, SPL, zephir, structure types, resolving types, chaining, combining number types, PHPUnit, packaging, and morePlan for the future using a case study example

GENRE
Computer und Internet
ERSCHIENEN
2016
4. August
SPRACHE
EN
Englisch
UMFANG
94
Seiten
VERLAG
Apress
GRÖSSE
644,7
 kB

Mehr ähnliche Bücher

Front Line PHP Front Line PHP
2020
PHP in Action PHP in Action
2007
Crystal Programming Crystal Programming
2022
Learn TypeScript 3 by Building Web Applications Learn TypeScript 3 by Building Web Applications
2019
Mastering PHP 7 Mastering PHP 7
2017
F# Programming: Questions and Answers (2020 Edition) F# Programming: Questions and Answers (2020 Edition)
2019

Mehr Bücher von Christopher Pitt

The Web Performance Collection The Web Performance Collection
2018
Procedural Generation in Godot Procedural Generation in Godot
2023
React Components React Components
2016
The Definitive Guide to Masonite The Definitive Guide to Masonite
2020
The Definitive Guide to AdonisJs The Definitive Guide to AdonisJs
2018
Making Games Making Games
2016