Separation of gui and business layer: Duplication of data necessary?

From: Klaus Horsten (email.9_at_gmx.net)
Date: 10/23/03


Date: 23 Oct 2003 02:00:41 -0700

Hallo,

is it necessary for a gui layer seperated from a business layer
to duplicate the data?

Say, I have a textfield for a name.

I write in my name.

Now I put the name into the gui-layer with this function

getName(TextField1.Text)
{
...
}

Now I put this name into the business layer through (gui-function modified)

[Gui]
getName(TextField1.Text)
{
   [Business]
   businessClass.doSomethingWithName(TextField1.Text)
}

So I have duplicated the data.

Is this right?

Thank you for any answer

Klaus



Relevant Pages