Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] From Swing to SWT

Oh boy... Back to the drawing board...

Your statement is exactly why MVC exists.

Start by thinking that a UI is a way of visualizing "something". You can
create any number of different UIs to present the same model/business
logic, and each UI could have entirely different approaches to how to
present data.

Think about Stock applications. There's a set of stokc data and business
rules surrounding that Stock data. But depending on the target audience,
any number of very different user task flows can be applied to work with
that data.

Some task flows will be a direct presentation/manipulation of the
business rules behind the data. Other task flows could perform analysis
of trends in the data, not caring about how the data "lives and
breathes".

IMHO, UIs and business rules should be obtained independently. Business
rules are based on data/domain experts, while UI rules are based on user
desires and expectations. The business rules may restrict what a UI can
do, but they don't define the UI.

The magic is in the separation of concerns.
-- Scott

> -----Original Message-----
> From: platform-swt-dev-admin@xxxxxxxxxxx
> [mailto:platform-swt-dev-admin@xxxxxxxxxxx]On Behalf Of
> Christian Gruber
> Sent: Monday, January 20, 2003 11:01 AM
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: RE: [platform-swt-dev] From Swing to SWT
>
>
> Um... GUIs are a manifestation of business logic, by definition.  They
> are an interface to the inner logic, or computational logic - but the
> user's task flows are one of the primary business requirements culled
> from the users.
>
> Regards,
> Christian.
>
>
> -----Original Message-----
> From: platform-swt-dev-admin@xxxxxxxxxxx
> [mailto:platform-swt-dev-admin@xxxxxxxxxxx] On Behalf Of Scott
> Stanchfield
> Sent: Saturday, January 18, 2003 6:49 PM
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: RE: [platform-swt-dev] From Swing to SWT
>
> > [mailto:platform-swt-dev-admin@xxxxxxxxxxx]On Behalf Of
> Brad O'Hearne
> > > -- all the business logic belongs outside the UI
> >
> > Just a note -- from a textbook standpoint, yes, this is the case.
>
> Them's fightin' words... <g>
>
> Anyone who's met me should know that I don't believe in "textbook"
> concepts...
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
>




Back to the top