With the module proposal the 'global' namespace does not have to ==  
the runtime namespace (i.e., _root for SWF, window for DHTML).  Given  
that, should the global namespace (from the point of view of the LZX  
app) be the canvas?  Is there a benefit to having a global namespace  
and the canvas in the global namespace, or did that just fall out of  
the initial implementation?

On 2006-03-24 15:30 EST, Adam Wolff wrote:

> in general, a named LzNode that is a child of the canvas also puts its
> name in the global namespace. I don't recommend changing that.
>
> I do think canvas.datasets should be deprecated. Just need to fix
> LzParsedPath somehow.
>
> A
>
> On Mar 24, P T Withington wrote:
>
>> Right now, when you create a dataset 'foo', it appears as:
>>
>> global.foo
>> global.canvas.foo
>> global.canvas.datasets.foo
>>
>> Do datasets really need all these aliases?  Do they need to have a
>> global alias (seems dangerous)?  Do they need an alias on the canvas
>> (perhaps, not quite as dangerous, but what's the point).  Is it not
>> sufficient to be in canvas.datasets?
>> _______________________________________________
>> Laszlo-dev mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>>

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to