After summary Vue 1.1
Data-driven
It is the core of data-driven vue
I understand that change data that is affecting the rendering of the page.
In the past two days to do the project components when a component I wrote fast 800 lines, methods which wrote many ways, we had a very complex logic calls. To look back and find it is not easy to maintain, even if you want to add functionality also very troublesome, carding a variety of logic, inter-related, it makes my scalp is a bit numb.
Today, when the meeting once again to understand the data-driven, hindsight, I understand that it seems that I did not use the core vue - data-driven. Why not put-ons I've always change the split alone package, so just change the traditional values can be achieved by changing the page rendering, and post-maintenance internal change traditional values simply unilaterally modify or logic components can be put aside the interference of other logic, the idea seems to be more clear.
Try it tomorrow.