>>> OTOH, it is also a good idea to keep event listeners as short as possible
>>> and have them call into domain objects that are exposed by the
>>> application (and these would generally be implemented in compiled code
>>> vs. script). 
> This is the point: this setting could be useful to ensure that in BXML files
> are put only references to existing (in code) methods and nothing other.
> Like enforcing a best practice.

I'm not really a big fan of "enforced" best practices. IMO, best practices are 
guidelines that you can either choose to adopt, or not. Besides, if we disable 
scripting in a BXML page, you wouldn't be able to call any methods at all, 
regardless of where they are defined. So I don't really see the value.

Reply via email to