Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Typed PHP: Stronger Types For Cleaner Code

Buy

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 This Book Is For


Experienced web developers and PHP programmers.

(HTML tags aren't allowed.)

STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library
STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library

The STL Tutorial and Reference Guide is highly acclaimed as the most accessible, comprehensive, and practical introduction to the Standard Template Library (STL). Encompassing a set of C++ generic data structures and algorithms, STL provides reusable, interchangeable components adaptable to many different uses without sacrificing
...
Ignore Everybody: and 39 Other Keys to Creativity
Ignore Everybody: and 39 Other Keys to Creativity

When Hugh MacLeod was a struggling young copywriter living in a YMCA, he started to doodle on the backs of business cards while sitting at a bar. Those cartoons eventually led to a popular blog-gapingvoid.com-and a reputation for pithy insight and humor, in both words and pictures. MacLeod has opinions on everything from marketing to the...

System-Level Power Optimization for Wireless Multimedia Communication: Power Aware Computing
System-Level Power Optimization for Wireless Multimedia Communication: Power Aware Computing
System-Level Power Optimization for Wireless Multimedia Communication Power Aware Computing focuses on emerging issues in power aware portable multimedia communications devices beyond low-power electronic design. Specifically, this work is a compilation of system-level power management approaches including theoretical and...

Service-Oriented Computing: ICSOC 2010 International Workshops PAASC
Service-Oriented Computing: ICSOC 2010 International Workshops PAASC

Welcome to the workshop program of the 8th International Conference on Service Oriented Computing (ICSOC 2010), held in San Francisco, December 2010. These workshop proceedings represent high-quality research and industry papers that showcase recent and new working developments in service-oriented computing and related fields.

...

Do more with SOA Integration: Best of Packt
Do more with SOA Integration: Best of Packt
A Packt Compendium is a book formed by drawing existing content from several related Packt titles. In other words, it is a mash-up of published Packt content – Professional Expertise Distilled in the true sense. Such a compendium of Packt's content allows you to learn from each of the chapters' unique styles and Packt does its...
Data Mining With Neural Networks: Solving Business Problems from Application Development to Decision Support
Data Mining With Neural Networks: Solving Business Problems from Application Development to Decision Support

In my position at IBM, I regularly brief executives, managers, and computer professionals on data mining and neural network technology. In my briefings, I cover the fundamentals of data mining and neural networks, and I also discuss specific applications relevant to the customers' businesses. Since time is usually limited, my goal...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy