I'm writing an application in CakePHP application.
I want to make the application fully dynamic and separate static values from website and just use a pointer to them wherever is used.
Ex, my application name is 'profplus' and slogan is 'make profile easy'
If I use them directly in different pages, in future in case they are required to be changed, changes are to be made to all files wherever these values exists and thus requires a lot of work to do.
I wan to save them at a single place like
$APP['name'] = 'profplus';
$APP['slogan'] = 'make profile easy';
and them use them every where like
<?= $APP['name'] ?>
I have following ways to do this.
Store data in the database
define somewhere and include like
or use staticaly everywhere
Which could be the best strategy to do this?