[Seaside] GOODS connection question
Avi Bryant
avi at beta4.com
Wed Jun 16 03:03:13 CEST 2004
On Jun 15, 2004, at 8:25 AM, Marco Paga wrote:
>> After some time, I get walkbacks with proxy objects being unable to
>> connect to the GOODS database. Avi, I remember you talking about
>> tying
>> the Seaside session to the GOODS session perhaps. Is this what I
>> should
>> do? How are other people maintaining connections to their GOODS
>> databases?
>
> I put a connection in my session. Perhaps it is some overhead, but you
> need to
> verify that just the db session that created the proxy objects works
> on them.
> I think it's a feature because every client can have it's own tree of
> objects
> to navigate on ,edit and commit.
Yes, exactly. I think that's definitely the best pattern. It might be
useful to have a sample WASession subclass that deals with GOODS, that
people can subclass from or at least look at for inspiration. Does
anyone have something they can post? Brian?
Avi
More information about the Seaside
mailing list