In which file should I define application-wide constants that are specific to my cakephp app?
There is a another way to set constants in external file except doing it in long files like bootstrap (When it's doesn't effect on Behaviors like editable Pdf constants).
It could be retrieved from view, controller or model:
Configure::load('PDF_CONSTANT_FILE');
echo THE_CONSTANT;
// PDF_CONSTANT_FILE set in app/config/PDF_CONSTANT_FILE.php
Adding $config=array(); to PDF_CONSTANT_FILE.php file at start is necessary.
Just for general benefit.