[prev] [thread] [next] [lurker] [Date index for 2002/09/07]
On Sat, Sep 07, 2002 at 02:44:05PM +0100, Greg McCarroll said:
> Are we moving Simon's stuff to use more methods in Storage::*?
Sort of done. I'm going to completely reimplement the config storage
methods tomorrow morning during Hollyoaks.
Basically there will be a method in Storage
->config($namespace, $user, $list, $key, [$value])
Which will, based on whether you passed a value for list, value, or both
will get (or set) the value of $key based on a heirachy
per-user, per-list
|
per user
|
per list
|
system default
|
\./
plugin default
which might seem to be overly complicated but is actually quite simple
to implement and the API will be really easy to use.
> I'm going to implement a Storable::Volatile, that just uses Perl data
> structures and i'd like ideas how we could run tests easily against
> different Storage backends.
Wait until I do the config work. Although the API will just be the one
above so you could use that.
The thing I've been thinking about is installation but I'll put that in
a more coherent mail later.
Simon
> p.s. are you guys going to dave's birthday bash tonight?
p.p.s Yes.
Generated at 13:56 on 01 Jul 2004 by mariachi 0.52