Re: Package Proposal: Preference_Manager
| From: | Stig S. Bakken | Date: | Sat, 07 Dec 2002 07:59:42 +0000 |
| Subject: | Re: Package Proposal: Preference_Manager | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11420@lists.php.net to get a copy of this message | ||
On Fri, 2002-12-06 at 04:29, Jon Wood wrote:
> I'd like to propose a new package, and I'm looking for the right name to
> give it, it's a small class for managing user preferences in an
> application, with basic session based caching of the values, and the
> ability to get default values if the user wants it to.
>
> There's a first version of the package (currently installs to
> /Auth/preferences.php, with a class name of preference_manager (I know,
> it's 3:28am!)) at
>
> http://ostrich.godaintpants.co.uk/pear/Preference_Manager-0.1.tgz if
> you
> want to take a look.
>
> Thanks,
>
> Jon Wood
Hi Jon,
There is definitely a need for a class like this. Have you looked at
the PEAR_Config class? I would like to extend it to handle containers
and per-package configuration, or maybe even merging it with the Config
class.
- Stig