LC 8 Property Inspector

Mark Waddingham mark at livecode.com
Tue Oct 13 03:26:23 EDT 2015


On 2015-10-13 06:08, Peter Haworth wrote:
> The publish/subscribe stuff sounds great, especially since I just found 
> no
> newxxx messages are sent when creating a control from the tools 
> palette.

I did notice your bug report on that - however Ali is away for a few 
days at the moment so I haven't been able to check with him about this.

The problem with the 'tools hooking into the message path' approach is 
that you end up interfering with the operation of user stacks unless you 
are very careful. You kinda end up with the abstract picture of each 
tool wrapping the preceding tool with the application somewhere at the 
bottom surrounded by a wash of code each potentially doing its own 
thing.

The publish/subscribe mechanism, along with the other APIs emerging in 
the LC8 IDE tries to change this by providing a 'model' tools can hook 
into to mutate the user stacks being edited. This means that the tools 
themselves can be insulated from the user stacks, and the user stacks 
can be insulated from the tools - hopefully ensuring a much more easy 
co-existence than sometimes occur in the current (pre-LC8) IDE.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list