Includes contains all of the config, environment, CDN, and partial files the front of the site uses. The environment, config, and functions file are used by both the front and the back.
/includes/
config.php
Connects to the database, defines environment vairables for the site path, and initializes SQL & CMS classes.
Include at the very beginning of every single non-vendored, non-partial php file.
contactMailer.php
Script-only partial included above the footer to handle contact form requests. Can definitely be improved, tentative plans to incorporate it into the CMS are on the back burner. See more here (link to contact form documentation)
footer.php / header.php
Partials containing the view for the footer & header of every front-end page
footer.php
Contact form, bottom bar on (almost) every site. contactMailer.php is included at the top.
header.php
Navigation bar & site logo. 'nuff said.
functions.php
Should really be incorporated into the cms class... Either way, contains a collection of functions for logging in, out, and presenting error messages. And any others you tack on for misc functionality. For instance, I made a function that produces the archive to the right.
standard-head.php
Partial included in the of every front-end content pages. Contains CDNs for all external dependencies (jQuery, bootstrap, etc), as well as analytics & reCaptcha scripts.
standard-scripts.php
Currently empty. Holdover from previous CMS iteration.
standardEOF.php
Contains front-universal End Of File scripts, like the bottom-page cookie-bar notification, and certain CDNs that perform better loaded last.
Includes contains all of the config, environment, CDN, and partial files the front of the site uses. The environment, config, and functions file are used by both the front and the back.
/includes/
config.php
Connects to the database, defines environment vairables for the site path, and initializes SQL & CMS classes.
Include at the very beginning of every single non-vendored, non-partial php file.
contactMailer.php
Script-only partial included above the footer to handle contact form requests. Can definitely be improved, tentative plans to incorporate it into the CMS are on the back burner. See more here (link to contact form documentation)
footer.php / header.php
Partials containing the view for the footer & header of every front-end page
footer.php
Contact form, bottom bar on (almost) every site. contactMailer.php is included at the top.
header.php
Navigation bar & site logo. 'nuff said.
functions.php
Should really be incorporated into the cms class... Either way, contains a collection of functions for logging in, out, and presenting error messages. And any others you tack on for misc functionality. For instance, I made a function that produces the archive to the right.
standard-head.php
Partial included in the of every front-end content pages. Contains CDNs for all external dependencies (jQuery, bootstrap, etc), as well as analytics & reCaptcha scripts.
standard-scripts.php
Currently empty. Holdover from previous CMS iteration.
standardEOF.php
Contains front-universal End Of File scripts, like the bottom-page cookie-bar notification, and certain CDNs that perform better loaded last.