I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files.
This will keep everything tidier, cleaner, more organized, reusable and I believe, more secure.
Example (Not my code - Maybe not a perfect example of this idea, but for illustration sake):
<?php
$server = "";
$dbuser = "";
$dbpass = "";
$database = "";
?>
What is this called?
Can anyone direct me to an online resource detailing this? Best practices. I need to do this and I need to do it correctly.
Thank you in advance!
Matthew