In all my years of software development, I had never done anything with "Data Binding"... First time I had ever used it or learned about it was in the past year and a half. We had a project where we needed to use Adobe Flex which is built upon ActionScript. In this language you hav what is referred to has Data Binding. Where you can bind a variable to someting... Say a text box, so that if the value changes, the text box "automatically" changes itself without you having to manuly update the control... Very nice handy feature.
Would you say that the .referTo( value ) functionality is also considered "Data Binding? It has the same affects as what you find in Adobe Flex.
Are there any limitations to using this? Any pitfalls? Traps?
Can this be used with user defined data types? Say I have an employee object that has a name... Would I be able to do something like...
myTextControl.getTextValue.referTo( myEmp.firstName ) and would it know how to bind properly to the firstName property of myEmp object?
Anyway, very Very VERY cool feature!!