Re: TActionList and datamodules



David Farrell-Garcia wrote:
Not at all.  Your TAction can simiply call  a public method on your
data module.  For even better separation you can move your business
logic to a 3rd layer and just do your data layer on he datamodule.  But
either way you can keep the real logic away from your prensentation
layer.

Mmmmh... looks like my target is blurry :-)

Ok, let's see if I can explain better what I'm thinking of.

I usually have this kind of structure for database applications:

1) GUI
2) Logical datamodules
3) Database datamodule
4) Reporting

This means that each section has its own module set.
This makes things much easier when it comes to mantain the applications.

Now, you're suggesting that part of what composes the logical datamodules be placed on the GUI, from my point of view - and that
breaks the separation imho.


Cheers,

Andrew
.



Relevant Pages

  • Re: Professional Excel Development book question
    ... One is the separation of the logical layers of an application ... should be able to change the implementation of your data access layer from ... and charts (hereafter referred to as a worksheet UI) a separation of VBA ... are located in the same add-in workbook as the ...
    (microsoft.public.excel.programming)
  • Re: UML Question (Object <-> ObjectFinder?)
    ... The point being that I can keep Quail ... In OOA/D one gets that directly because message and method are already separated. ... need to create some kind of mapping layer to translate the two. ... So any mechanism used to obtain the decoupling that separation would inherently provide must be provided through bootstrapping by the developer. ...
    (comp.object)
  • Global Prevalence of Double Benioff Zones
    ... Double Benioff zones provide opportunities for insight into seismogenesis ... earthquakes and the separation between them. ... We characterize layer ... which implies that they are inherent in subducting plates. ...
    (sci.geo.geology)
  • Re: Speaking of soundproofing, what separates my townhouse from the next one?
    ... and on the two outside walls, and a layer if cork somewhere else. ... hear almost nothing from the other house, ... That cinder block wall is not for soundproofing, it is for fire separation. ...
    (alt.home.repair)
  • Re: CSS for Java apps?
    ... separation is encourage/stressed in web page design with the HTML ... If an application program started setting those sort of attributes, the widgets would look very out of place. ... The top layer just lays out components. ...
    (comp.lang.java.programmer)