[Seaside] Slightly OT -- Glorp session question..

Rick Flower rickf at ca-flower.com
Fri Jun 30 16:52:54 UTC 2006


Boris Popov wrote:
> Typically instead of a single descriptor you create descriptor systems that
> describe your whole domain by subclassing DescriptorSystem and then creating
> your session via,
>
> system := MyDescriptorSystem forPlatform: login database.
> session := GlorpSession new.
> session accessor: (DatabaseAccessor forLogin: login).
> session system: system. 
>
> There should be plenty of examples in GlorpTest for this.
>
> Hope this helps,
>   
Ahh... I do recall seeing DescriptorSystems in one or more of the tests, 
but wasn't following why they
were there or what they were doing (I didn't look too closely at them).. 
Do you know if this is mentioned
in any of the Glorp tutorials or is it overlooked for the most part?  
Thanks!

-- Rick


More information about the Seaside mailing list