Articles tagged with "configuration"
Multiple CakePHP applications on a single domain in a shared LAMP hosting environment
GOAL:
[Read more] - One domain on a shared Linux/CPanel hosting environment
- Multiple CakePHP applications running from separate directories WITHIN the public webspace (referred to as public throughout this tutorial)
- Separate databases
- Single shared CakePHP core served from above the public web space (referred to as private throughout this tutorial)
- Separate CakePHP app directories (within a single APPS directory) also served from above the public web space (referred to as private throughout this tutorial)
- Given all of the above: NO STUPID WORKAROUNDS
ConfComponent DB based configuration
DB based configuration, allows you to set and retrieve values organized into conf categories. Now with caching.
[Read more] ConfComponent DB based configuration Tutorial
ConfComponent allows you to store your configuration into the db, set and retrieve values organized into categories very easily.Now with caching.
changelog
=========
0.9.1:
- Added the ability to call the component in beforeFilter().
0.9:
- Added file caching to minimize db hits.
- Added default value for get()
- Changed the way you set and get values to be more cake-ish
- Introducing $getEmpty
- Introducing some options to deal with boolean values stored as 'true' and 'false'.
- Added setCat to set a category of configs at once
- Added setBatch to save a set of categories with their configs at once
[Read more] changelog
=========
0.9.1:
- Added the ability to call the component in beforeFilter().
0.9:
- Added file caching to minimize db hits.
- Added default value for get()
- Changed the way you set and get values to be more cake-ish
- Introducing $getEmpty
- Introducing some options to deal with boolean values stored as 'true' and 'false'.
- Added setCat to set a category of configs at once
- Added setBatch to save a set of categories with their configs at once
cakeinfo() helper for cakePHP
As a newbie in cakePHP it is often hard to get all the constants right and not always easy to recognise, what is already defined in the cakePHP core of constants.
[Read more]
Latest Comments