lime icon

Phosphorus and Lime

A Developer's Broadsheet

This blog has been deprecated. Please visit my new blog at klenwell.com/press.
PHP: include file template
My revised template for library-like include files. Simple enough, but since adopting the form as my standard, I've found development speed and quality has improved noticeably.


/*** DOCUMENTATION LAYER

AMVC Include Template

Directory: VAR
File: VAR.inc.php
Last Update: Feb 2006
Author: Tom Atwell (klenwell@gmail.com)

FUNCTIONS:

NAME()


NOTES:

______________________________________________________________________________*/



// NAME
/*____________________________________________________________________________*/
function NAME()
{
// *** DATA

// *** MANIPULATE

// *** RETURN

} # end Fx
/*____________________________________________________________________________*/



// Testbed
/*____________________________________________________________________________*/


/*____________________________________________________________________________*/

?>


keywords: PHP, template, library, include, function
Nice! I'll be using it in my next php dev, Thanks!