← Back to team overview

launchpad-dev team mailing list archive

Re: caching in model objects: please read

 

On Thu, Aug 19, 2010 at 3:56 AM, Robert Collins
<robertc@xxxxxxxxxxxxxxxxx> wrote:
> On Thu, Aug 19, 2010 at 8:36 AM, Tim Penhey <tim@xxxxxxxxxx> wrote:
>> On Thu, 19 Aug 2010 02:05:05 Francis J. Lacoste wrote:
>>> I thought we already had a StormBase? Didn't we had something which had a
>>> bunch of convenience already in?
>>>
>>> My recollection was that you tried to push that upstream, but they weren't
>>> interested.
>>>
>>> Or maybe I'm getting old and my memory isn't what it used to be...
>>
>> We do have one.  StormSugar or something like that I think.
>
> In which case the answer is 'please use it' and 'we should add a
> invalidation hook for cachedproperties to it'.

Sugar was offering some SQLObject like extensions is not used. I
personally felt we would be better off without them and we should just
do things the Storm preferred way or get the improvements in Storm
core. In particular, it hard codes 'id' as an integer primary key
which is no longer the case.


-- 
Stuart Bishop <stuart@xxxxxxxxxxxxxxxx>
http://www.stuartbishop.net/



Follow ups

References