Categories


Loading feed
Loading feed
Loading feed

The Standard PHP Library (SPL)

As its name implies, the goal of the Standard PHP Library-or SPL, for short – is to provide a standard library of interfaces that allows developers to take full advantage of object-oriented programming in PHP 5. This library of interfaces creates a standard API for certain kinds of built-in functionality, allowing your classes to interact with the PHP engine in a much more seamless manner. The functionality it provides includes, for example, the ability to define how your objects will react when iterated over with foreach, advanced array access, file and directory access, and advanced SimpleXML object handling. The largest chunk of functionality that the SPL provides comes in the form of iterators.

Member Profile: Ben Ramsey

Ben Ramsey is a Software Architect at Schematic, where, with over ten years of Web development experience, he is a leader in the Open Source Platforms Group, designing and developing quality software, setting and enforcing best practices, and training and mentoring software developers.

Ben is also a leader in the PHP community. He founded and organizes the Atlanta PHP user group, is the founder of the PHP Groups user group network, is a founding principal of the PHP Security Consortium, and is an original member of the PHPCommunity.org project, which lives on today as the #phpc IRC channel. Ben also speaks at industry conferences around the world.

Putting his B.A. in English to good use, Ben has written numerous articles for php|architect, International PHP Magazine, and Zend Developer Zone and has lent his writing talents to several books, including php|architect’s Zend PHP 5 Certification Study Guide (php|architect) and PHP 5 Unleashed (Sams).

Ben blogs at http://benramsey.com/.