DevShed finishes off their "loader" series of tutorials today with this eighth part focusing on the use of Directory Iterators.
Here's where the SPL comes in, since it's possible to use a combination of its "spl_autoload_register()" function and its RecursiveDirectoryIterator class to refactor the method in question and make it shorter and tighter.
In this final chapter of the series I'm going to improve the loader class developed in the previous one by incorporating some of the...
DevShed: Using the spl_autoload() Functions to Build...
In the next to last article of their loader series, DevShed looks at replacing some of the file loading functionality in their examples with functions from the SPL. As I mentioned before,...
Using Iterators in PHP
DevX: "This article shows you how to use the most important iterator classes: ArrayIterator, DirectoryIterator, FilterIterator, and so forth, found in the Standard PHP Library (SPL), and how...
HootSuite adds support for Digg, Trendspottr, and...
Popular social networking management service HootSuite announced Wednesday it has added support for more social apps and opened its Engagement API.
Post new comment