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

YouTube

Rediscovering the SPL

PHP UK Conference via YouTube

Overview

Dive into the powerful yet underutilized Standard PHP Library (SPL) in this comprehensive 59-minute conference talk from PHP UK Conference 2014. Explore numerous iterators, data structures, and interfaces defined by SPL, learning when and how to implement them in your projects. Discover edge cases and unexpected behaviors in SPL, gaining insights into Traversable, Iterator, Countable, and various specialized iterators. Examine PHP source code, iterator aggregation, and recursive operations. Delve into SPL arrays, data structures, Big O notation, and object storage. Understand SPL exceptions, including logic and runtime exceptions, and learn best practices for exception handling. Cover miscellaneous topics such as autoloading and area objects, while gaining practical tips on making SPL easier to use in your development workflow.

Syllabus

Introduction
SPL Documentation
Traversable
Iterator
Countable
Iterating
PHP Source Code
Iterators
Iterator Aggregate
Something Iterator
Recursive Iterator
Recursive Filter Iterator
Lookahead Iterator
SPL Iterators
SPL Arrays
SPL Data Structures
Big O Notation
SPL Object Storage
SPL Exceptions
Logic Exceptions
Runtime Exceptions
Never throw exception
Miscellaneous stuff
Autoloader
Area Objects
How to make the SPL easier

Taught by

PHP UK Conference

Reviews

Start your review of Rediscovering the SPL

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.