Articles tagged with "configuration"

Multiple CakePHP applications on a single domain in a shared LAMP hosting environment

By Jeff Keith
GOAL:
  1. One domain on a shared Linux/CPanel hosting environment
  2. Multiple CakePHP applications running from separate directories WITHIN the public webspace (referred to as public throughout this tutorial)
  3. Separate databases
  4. Single shared CakePHP core served from above the public web space (referred to as private throughout this tutorial)
  5. Separate CakePHP app directories (within a single APPS directory) also served from above the public web space (referred to as private throughout this tutorial)
  6. Given all of the above: NO STUPID WORKAROUNDS
[Read more]

ConfComponent DB based configuration

By Othman ouahbi
DB based configuration, allows you to set and retrieve values organized into conf categories. Now with caching.
[Read more]

ConfComponent DB based configuration Tutorial

By Othman ouahbi
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]

cakeinfo() helper for cakePHP

By Siegfried Hirsch
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]