digitalmars.D - Seperate the data and GUI
- Boris Wang (9/9) Apr 17 2006 The follow is my point.
The follow is my point. The GUI should not conain and know the APP data( except for backup, or cache). we should make abstraction about the data can be displayed by GUI, the concept, such as Presentable Data. The PD take charge on the data loading, updating, and interacting with GUI. So, The APP developer can work( dev and test ), even without the GUI be maked, by directly control the PD's interface. How may kinds of PD? not many, single data(string, integer,image,etc), list/array, matrix, treee, stream, just so so.
Apr 17 2006