Typed PHP: Stronger Types For Cleaner Code
English | 21 Aug. 2016 | ISBN: 1484221133 | 96 Pages | PDF (True) | 2.87 MB
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 is this book for
This book is for experienced web developers and PHP programmers.
Php le basi: per principianti
PHP Development Tool Essentials
PHP in Action
Pro PHP and MySQL
PHP Framework in One Weekend
Guide to Web Scraping
Pro PHP MVC (Expert's Voice in Open Source)
You Want to Do What with PHP?
Learning PHP 7
Creating a Barebones Phalcon App: A simple step-by-step recipe for beginners
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Learning PHP: A Gentle Introduction to the(1653)
Learning PHP 7(1560)
PHP Full Tutorial Guide(1510)
PHP 7: Object-Oriented Modular Programming(1363)
Learning PHP 7(1208)
Pro PHP and MySQL(1124)
PHP and PostgreSQL Programming By Example(1121)
PHP in a day: Basics of PHP for beginners(1119)
Arrays: PHP 7 Complete Guide: Simple, Mult(1117)
The essentials of Object Oriented PHP(1114)
PHP and Algorithmic Thinking for the Compl(1113)
Domain-Driven Design in PHP(1046)
Mastering Yii: Advance your modern web app(1017)
PHP Framework in One Weekend(1000)
PHP: MYSQY for Beginners, Learn PHP MYSQL (962)