Re: My Enterprise Architecture - your thoughts?

From: Robert C. Martin (unclebob_at_objectmentor.com)
Date: 06/20/04


Date: Sat, 19 Jun 2004 23:46:58 -0500

On Fri, 18 Jun 2004 19:58:25 GMT, "Shayne Wissler"
<thalesNOSPAM000@yahoo.com> wrote:

>
>"Robert C. Martin" <unclebob@objectmentor.com> wrote in message
>news:dah6d01dpi1kbgsnbguu2151sfkojjqor0@4ax.com...
>
>> Recommendation: Start simple. Don't employ layers until you have
>> undeniable proof that you need them, and then only implement those
>> that you are sure you need.
>
>That's not a terrible recommendation, except that for any non-trivial app I
>think it's going to make sense to keep the GUI logic separate from the
>application logic. In fact, even for a trivial app this generally makes
>sense. (Even a simple calculator app should have separate GUI and calculator
>logic).

Agreed. However, that separation does not need lead to independent
remotable layers. You don't need a mapping layer interposed between
the GUI and the rest of the system. You don't need to convert all the
calls between them into XML packets, etc.

Layering is an extreme form of dependency management. Dependencies
can be effectively managed without going all the way to a deeply
layered system.

     As I'm sure you already know.

-----
Robert C. Martin (Uncle Bob)
Object Mentor Inc.
unclebob @ objectmentor . com
800-338-6716

"The aim of science is not to open the door to infinite wisdom,
 but to set a limit to infinite error."
    -- Bertolt Brecht, Life of Galileo



Relevant Pages

  • Re: After recursively creating threads, how do I tell when they are done?
    ... DB> In my windows C# app, I create a thread to separate the main code ... DB> block from the GUI, which recursively sorts through all the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Great SWT Program
    ... keyboard shortcuts aren't always obvious. ... A user using a GUI app may notice something ... and notice tedium using a GUI app to do it. ... specifically think of the feature they wanted and couldn't find in it. ...
    (comp.lang.java.programmer)
  • Re: Tips for installing windows and freeBSD both.. anyone??
    ... How is this different from the command line? ... I'm just as dead in the water as with the GUI. ... but since it is internal to the app, and *not* part of the GUI, it doesn't ... the spreadsheet  specified the spreadsheet file to use, ...
    (freebsd-questions)
  • Re: Tips for installing windows and freeBSD both.. anyone??
    ... How is this different from the command line? ... I'm just as dead in the water as with the GUI. ... but since it is internal to the app, and *not* part of the GUI, it doesn't ... the spreadsheet  specified the spreadsheet file to use, ...
    (freebsd-questions)
  • Re: MacUpdatePromo
    ... easy way to know which app will work which way. ... so users are supposed to know all GUI guidelines and understand the ... when they close a window. ... them to quit. ...
    (comp.sys.mac.advocacy)