[Seaside] Let me see if I understand correctly...(more DB pool,
application/session stuff).
Ramon Leon
rleon at insario.com
Tue Feb 28 00:14:38 UTC 2006
You may want to check with Avi or Lucas, they'd know better, but I think
that's what the main class config setting is, a single instance that
acts as the application class. Keeping stuff here would seem to be what
you're looking for.
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf
> Of Rich Warren
> Sent: Monday, February 27, 2006 4:31 AM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: [Seaside] Let me see if I understand
> correctly...(more DB pool,application/session stuff).
>
> I can have my components use a session subclass that I've created.
> Each user gets their own session object (more or less,
> assuming of course they don't have multiple browsers open,
> etc.). So, if I want all the sessions to access an
> application-global resource (for example, a connection pool
> for a database), I would need to either use a global variable
> (which I'm not sure how to do in SmallTalk) or use a
> singleton class (which seems better than the global option,
> but still has some problems).
>
> Ideally I would like to subclass the application and have the
> application itself manage the global resource--but that does
> not seem to be a possibility within the seaside framework.
>
> Am I missing something, or thinking about this the wrong way?
>
> Thanks again, all your help has been incredibly useful up to
> this point.
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the Seaside
mailing list