Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Best of Strong Typing for PHP

International PHP Conference via YouTube

Overview

Explore strong typing in PHP in this conference talk from the International PHP Conference. Delve into the spread of strong typing across PHP, including its addition to class properties in PHP 7.4. Examine the impact of typing on code consistency, auto-validation features, and potential challenges with dependencies. Learn how typing enhances quality tools, improves code validation, and promotes coding patterns like the null object. Discover the benefits of strong typing for large projects and its tactical use in coding. Follow along as the speaker, Damien Seguy from Exakat, covers topics such as nullable cases, null pattern classes, current adoption rates, debugging tools, and automated detection. Investigate the challenges of multiple types, interfaces, and insufficient interfaces. Analyze the systemic usage of type hints, function and method interactions, and the impact on class hierarchies. Gain insights into the complexities of updating strongly typed code and the organization of methods as groups.

Syllabus

Intro
SPEAKER
QUICK REVIEW
NULLABLE CASE
NULL PATTERN CLASS
CURRENT ADOPTION
INSIDE THE METHOD
BETTER CHECKING
LESS CHECKING
SELF CONSISTENCE
DEBUGGING TOOL
ADOPTING TYPE HINTS
AUTOMATED DETECTION
HARDER WITH
MULTIPLE TYPES
INTERFACES, NOT CLASS
INSUFFICIENT INTERFACES
CLASSES, NOT INTERFACES
SYSTEMIC USAGE
FUNCTIONS INTERACTIONS
METHODS INTERACTIONS
REAL INTERACTIONS
TYPEHINT AND CLASSES
HARD TO UPDATE
CLASSES ORDER
METHODS AS GROUPS

Taught by

International PHP Conference

Reviews

Start your review of The Best of Strong Typing for PHP

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.