Flatter than I hoped for

Doug Lerner doug at webcrossing.com
Fri Jan 23 05:27:08 EST 2004


On 1/23/04 7:19 PM, "Frank Leahy" <frank at backtalk.com> wrote:

> Doug,
> 
> Yes, it would be nice to do what you want.  You might be able to do it
> as follows (assuming you have some source control in place for the main
> stack):
> 
> 1. Main stack has all your really common handlers.  This stack gets put
> into source control so that any developer can get the latest version at
> any time.  (And anyone who breaks it has to do the nightly build for a
> week :-)
> 
And walk my dog? 

> 2. Each developer works on his "stack set", e.g. chat stack +
> whiteboard stack.

The problem now, of course, is that handlers for the substack (say,
whiteboard stack) are in the mainstack rather than in the chat stack to
which it belongs.

> 
> 3. When a stack in a "stack set" is suspended, it is responsible for
> calling "stop using" on the stacks in its stack set.
> 
> 4.  Similarly, when a stack in a "stack set" is resumed, it is
> responsible for calling "start using" on the stacks in its stack set.
> 
> This assumes of course that stack sets that are open but not in front
> won't need their handlers while they're in the background.
> 
> Another option would be to have some handler naming conventions for
> each stack set so you could be sure there were never any naming clashes.

That is sort of what I am doing for now.

doug


> 
> -- Frank
> 
> 
> 
> 
> On Friday, January 23, 2004, at 09:58  AM,
> use-revolution-request at lists.runrev.com wrote:
> 
>> For example.
>> 
>> A - Mainstack
>>     B - Feature called by pressing a button in the main stack
>>           C - A sub-feature of app 1 opened up by pressing a button in
>> app 1
>>     D - Another feature called by pressing a button in the main stack
>> 
>> All the stacks need to be able to use the handlers in the main stack,
>> A.
>> C needs to use the handlers in stack B and stack A because it is a
>> substack
>> of stack B.
>> 
>> In the case of A->B->C there would be three windows opened up, C would
>> depend on what is going on in B.
>> 
>> It seems a natural thing to want to do, doesn't it?
>> 
>> doug
>> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list