[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FR-devel] Database slot-type addtion
From: |
Horacio Lopez |
Subject: |
Re: [FR-devel] Database slot-type addtion |
Date: |
02 Aug 2002 17:14:50 -0300 |
.....
> Added methods to slot:
>
> #slot.put(key, value)
> #slot.get(key) #=> value
> #slot.is_hash_slot?
> #slot.hash # turn slot into hash slot
>
> Right we could just set the data to a hash like this:
>
> slot.data = {}
> slot.data[key]=value
> slot.data[key] #=> value
>
> But modifying the internal object's state as stored in a data slot does
> not propagate notifications events, whereas the new method (hash slot)
> would allow a subscriber to be notified.
great feature, *could* be used for accesing resource
repositories.
is this already in the CVS ?
I could abstract the I18N api so that it actually
uses these data slots to retrieve resource bundles.
cheers
vruz
- [FR-devel] Database slot-type addtion, Rich Kilmer, 2002/08/02
- Re: [FR-devel] Database slot-type addtion, Hal E. Fulton, 2002/08/02
- RE: [FR-devel] Database slot-type addition, Curt Hibbs, 2002/08/02
- Re: [FR-devel] Database slot-type addition, Hal E. Fulton, 2002/08/02
- RE: [FR-devel] Database slot-type addition, Rich Kilmer, 2002/08/02
- Re: [FR-devel] Database slot-type addition, Hal E. Fulton, 2002/08/03
- RE: [FR-devel] Database slot-type addition, Rich Kilmer, 2002/08/03
- Re: [FR-devel] Database slot-type addition, Hal E. Fulton, 2002/08/03
Re: [FR-devel] Database slot-type addtion,
Horacio Lopez <=
Re: [FR-devel] Database slot-type addtion, Laurent Julliard, 2002/08/02