Re: Application logic and Business logic

From: Thomas Gagne (tgagne_at_wide-open-west.com)
Date: 03/07/05


Date: Mon, 07 Mar 2005 14:36:14 -0500

Dmitry A. Kazakov wrote:
> On Mon, 07 Mar 2005 07:19:26 -0500, Thomas Gagne wrote:
>
<snip>
>>
>>But memory without structure is gibberish, and gibberish can't be shared
>>between applications.
>
>
> Right. More to the point, the idea of sharing data between applications is
> also archaic and dangerous.

I've lost you there. Data is created in one application but many more
may query the data. Let's pretend only one application updates your
bank account's balance, but there may be literally hundreds that use
your account's balance in their reports. Heck, ad-hoc SQL selecting the
balance is another application for the data, so it must be shared -- and
so I'm not understanding how it may be "archaic and dangerous."

  What could be shared data *in* an application?
> Right, they are volatile global variables! Would somebody here argue for
> global variables? For ones as a synchronization mechanism? It was obsolete
> already in 70s, its was always obsolete.
>
> Further, the applications "sharing" data just comprise another larger
> application in which data exist as, right, global variables. It is a very
> old, archaic, fragile, error prone architecture. First there must be
> objects of types, not just data. Second the scopes where object exist
> should be chosen according to the application logic and not implementation
> logic.
>
I can't tell if you being sarcastic, histrionic, or simply criticizing
something. Can you elaborate on the point above?



Relevant Pages

  • RE: NT Clusters
    ... > any way to balance the load of NT applications? ... Advanced Server for OpenVMS can certainly do load balancing across all ... you get a file-n-print service whereby you do not need to ...
    (comp.os.vms)
  • Re: Global Variables
    ... You should avoid using global variables like you would avoid a virulent ... Global variables will not be available to other applications either. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: global variables in UML class diagrams (novice question)
    ... about UML class diagrams. ... global variables. ... Knowledge attributes are defined with objects that logically know something in the problem space. ... BTW, that's why the Singleton pattern is highly overused in OO applications; often it is just a kludge to introduce global data, which is a no-no. ...
    (comp.object)
  • Re: Application logic and Business logic
    ... Data without application is memory. ... the idea of sharing data between applications is ... they are volatile global variables! ... > swapped brains, neither could both applications run on the same brain. ...
    (comp.object)
  • Re: Understanding Modules ?
    ... containers for functions and Global variables - in what circumstances do ... Can you put multiple functions in one ... Because your applications might have many different features and functions, ... I placed my re-link code in a ...
    (microsoft.public.access.gettingstarted)