lime icon

Phosphorus and Lime

A Developer's Broadsheet

This blog has been deprecated. Please visit my new blog at klenwell.com/press.
PHP: function template
Somewhat obvious but very useful. I call it the DMR model. Nothing complicated but it's helped organize my coding quite a bit. I re-use this template a lot so I'm putting it up here for easier access:

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

// *** MANIPULATE

// *** RETURN

} # end Fx
/*______________________________________________*/


keywords: PHP, function, template, DMR