I know that d开发者_Go百科ata-binding sometimes can save lots of effort, but I'm not very clear on how to make decision that to use or not to use data-binding in various contexts.
If the project gets more than 1000 lines, you will end up creating some data-binding solution yourself, even if you don't realize it. But it will be messier and changes will be hard to introduce.
So, using a data-binding framework is advisable. The choice of which framework to use now becomes hard. JGoodies Data Binding, BeansBinding, BeanProperties
精彩评论