[Seaside] Configuration

Julian Fitzell julian at beta4.com
Tue Jan 3 00:58:29 CET 2006


Well, you used to be able to subclass Application but I have a feeling 
this was deprecated in favour of subclassing session and renderloop... 
The new configuration stuff never really got fully fleshed out...

Julian

Ramon Leon wrote:
> Well, you're getting at it, but what I want is for the scope to apply to all instances of that component, for that application instance only, hence needing to store it at application level, i.e. in the configuration.  Everything else you suggested would provide innappropriate scope.  Basically, I need the level just above session, application.  Configuration provides that, but not without pre creating it, no biggie, I'll just tuck a dictionary into a predefined slot in a configuration variable, I was just suprised to not find this already an option.
> 
> ________________________________
> 
> From: seaside-bounces at lists.squeakfoundation.org on behalf of Julian Fitzell
> Sent: Sat 12/31/2005 12:19 AM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] Configuration
> 
> 
> 
> Well,
> 
> You can just add an instance variable to the component, optionally
> marking it for backtracking (or using a holder) if appropriate.  Or, if
> it applies to all instances of that component, use a class variable. 
> Or, if it applies only within one session, store it as an instance
> method on a custom session class and access it from there within the
> component.
> 
> Does that answer the question or am I misunderstanding it?
> 
> Julian
> 
> Ramon Leon wrote:
> 
> 
>>Hi, I'm trying to store some dynamic configuration data and having some
>>problem figuring out how.  Is there a way to store application level
>>configuration data, say a component remembering some settings, without
>>having to predefine a special configuration class?  This data doesn't
>>need to be seen or edited on the configuration screen, I just want a
>>hash to stick component specific data dynamically.
>>_______________________________________________
>>Seaside mailing list
>>Seaside at lists.squeakfoundation.org
>>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
> 
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the Seaside mailing list