Typed PHP[electronic resource] :stro...
Pitt, Christopher.

 

  • Typed PHP[electronic resource] :stronger types for cleaner code /
  • 紀錄類型: 書目-電子資源 : Monograph/item
    杜威分類號: 005.2762
    書名/作者: Typed PHP : stronger types for cleaner code // by Christopher Pitt.
    作者: Pitt, Christopher.
    出版者: Berkeley, CA : : Apress :, 2016.
    面頁冊數: xviii, 76 p. : : ill. (some col.), digital ;; 24 cm.
    Contained By: Springer eBooks
    標題: PHP (Computer program language)
    標題: Computer Science.
    標題: Programming Techniques.
    標題: Programming Languages, Compilers, Interpreters.
    ISBN: 9781484221143
    ISBN: 9781484221136
    內容註: 1. The State of PHP -- 2. Structure -- 3. Extensions -- 4. Design -- 5. Implementation.
    摘要、提要註: 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.
    電子資源: http://dx.doi.org/10.1007/978-1-4842-2114-3
評論
Export
取書館別
 
 
變更密碼
登入