1

Topic: How to make? (Without intersecting the logician and GUI)

There is the certain system working as certain objects. Each object is presented on GUI in a type .  it is possible to drag and interchange the position it it is simple as more conveniently to the user,  does not change any logic. And so this order - how the user arranged  - it is necessary to save with all this structure of objects in a file. Now rationally logic and GUI are spaced strongly apart. And saving, of course, in the logician. And as to me there on-krasivshe to push through the order  in GUI - mind I will not put. That is simply to make, that worked - a heap of methods. But here is how on mind such to turn?

2

Re: How to make? (Without intersecting the logician and GUI)

Hello, Amygdala, you wrote: A> Now rationally logic and GUI are spaced strongly apart. And saving, of course, in the logician. And as to me there on-krasivshe to push through the order  in GUI - mind I will not put. That is simply to make, that worked - a heap of methods. But here is how on mind such to turn? In the intermediate layer. This state View - i.e. ViewModel.

3

Re: How to make? (Without intersecting the logician and GUI)

Hello, Amygdala, you wrote: A> Now rationally logic and GUI are spaced strongly apart. And saving, of course, in the logician. And as to me there on-krasivshe to push through the order  in GUI - mind I will not put. That is simply to make, that worked - a heap of methods. But here is how on mind such to turn? Make that worked, and then make that it was pleasant to you.

4

Re: How to make? (Without intersecting the logician and GUI)

Hello, Amygdala, you wrote: A> There is the certain system working as certain objects. Each object is presented on GUI in a type .  it is possible to drag and interchange the position it it is simple as more conveniently to the user,  does not change any logic. And so this order - how the user arranged  - it is necessary to save with all this structure of objects in a file. It is necessary, only not in a file dataful. These are adjustments of the user, they live somewhere in %AppData %. You after all somewhere save the order of columns in any , sorting, etc. Here there and save. Tomorrow you will have a teamwork with files, and all the same it is necessary to do it. So make in advance is better.