Use Include Files Appropriately
Re-use philosophy: break page into 20 files
However, every include() or require()
means at least 4 system calls
stat(), open(), read(), close()
realpath() if using open_basedir
Accelerator cache hit avoids 3 syscalls
Must balance performance and reusability
Keep your include_path short