LEADER 03673nam 22005415 450 001 9910254759603321 005 20200702214646.0 010 $a1-4842-2114-1 024 7 $a10.1007/978-1-4842-2114-3 035 $a(CKB)3710000000777613 035 $a(DE-He213)978-1-4842-2114-3 035 $a(MiAaPQ)EBC4625227 035 $a(CaSebORM)9781484221143 035 $a(PPN)194807398 035 $a(EXLCZ)993710000000777613 100 $a20160804d2016 u| 0 101 0 $aeng 135 $aurnn|008mamaa 181 $ctxt$2rdacontent 182 $cc$2rdamedia 183 $acr$2rdacarrier 200 10$aTyped PHP$b[electronic resource] $eStronger Types For Cleaner Code /$fby Christopher Pitt 205 $a1st ed. 2016. 210 1$aBerkeley, CA :$cApress :$cImprint: Apress,$d2016. 215 $a1 online resource (XVIII, 76 p. 8 illus., 7 illus. in color.) 225 0 $aExpert's Voice 300 $aIncludes index. 311 $a1-4842-2113-3 327 $a1. The State of PHP -- 2. Structure -- 3. Extensions -- 4. Design -- 5. Implementation. 330 $aDiscover 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. 606 $aComputer programming 606 $aProgramming languages (Electronic computers) 606 $aWeb Development$3https://scigraph.springernature.com/ontologies/product-market-codes/I29050 606 $aProgramming Techniques$3https://scigraph.springernature.com/ontologies/product-market-codes/I14010 606 $aProgramming Languages, Compilers, Interpreters$3https://scigraph.springernature.com/ontologies/product-market-codes/I14037 615 0$aComputer programming. 615 0$aProgramming languages (Electronic computers). 615 14$aWeb Development. 615 24$aProgramming Techniques. 615 24$aProgramming Languages, Compilers, Interpreters. 676 $a005.11 700 $aPitt$b Christopher$4aut$4http://id.loc.gov/vocabulary/relators/aut$0913756 801 0$bUMI 801 1$bUMI 906 $aBOOK 912 $a9910254759603321 996 $aTyped PHP$92283966 997 $aUNINA