News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Including Files Recursively with Loader Applications in PHP
June 11, 2009 @ 12:43:23

DevShed continues their "loaders in applications" series with this fourth part, a look at including files recursively.

This series uses a variety of code samples to teach you how to create modular programs. These programs are capable of recursively including files required by a given application, without having to explicitly call any "include()/include_once()" or "require()/require_once()" PHP function.

In their example they show how to use their loader class (built up from previous parts of the series) and modify it slightly to allow the script to set the file path, set the files to include and pull them in.

0 comments voice your opinion now!
loader recursive tutorial include


blog comments powered by Disqus

Similar Posts

Andrew Podner: Lithium: Building Views Using Layouts

Kevin Schroeder's Blog: Connecting PHP to ActionScript and Flex using Stomp

HowTo Forge: How To Harden PHP5 With Suhosin On Fedora 7

DZone.com: Record and replay for testing of legacy PHP applications

Jeremy Johnstone's Blog: PHP parser for OS X plist XML files


Community Events





Don't see your event here?
Let us know!


list podcast release symfony interview community library introduction series install package tips bugfix opinion api framework laravel deployment voicesoftheelephpant language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework