Re: Question to Interfaces/Objectcatalogue



Hi Ralph.

Thank's for your answer. I see now, that an additional interface can't be
the solution. It doesn't pay anything. The mechanism of Interfaces and
Inheritance is quite plain to me. But I don't understand the basics of COM (I
think at this point, it's neccesary to read something about that ;-).

Unfortunately I have no bearing on this design of the project. Althoug the
concept of generated classes is not the worst thing. In a scenario with
hundreds of tables, it's not a good idea, to read from ADO Recordsets untyped.
And Code like rs.Fields("OrderNumber") can't be checked by the compiler.
That's a potential source of error.

Of course, the generated classes can't never be part of the bussines-layer.
That's absolutely clear. And that's not the circumstance in our project
(fortunately !)
There are a lot of additional classes and class-hierarchies, which are
designed for the bussines-layer. And together with the forms, we have now
this bloated Project.
Unfortunately, it's designed as a monolith.

We plan to remake the whole project in VB.NET or C#. But that's an
enterprise for the next few years.

Thank you,
Peter
.



Relevant Pages

  • Re: Noun Oriented Thinking Considered Harmful
    ... If you end up with a design ... or interface models is far more restrictive than by the global ... but in the pre .Net versions of Delphi interfaces have the ... Finally, inheritance is ...
    (borland.public.delphi.non-technical)
  • Re: Question to Interfaces/Objectcatalogue
    ... that an additional interface can't be ... > Unfortunately I have no bearing on this design of the project. ... > designed for the bussines-layer. ... collection of data wizards, sed scripts, and templates. ...
    (microsoft.public.vb.com)
  • Re: Noun Oriented Thinking Considered Harmful
    ... *strengths* of OO design is the ability to model relationships between ... or interface models is far more restrictive than by the global ... and the inheritance of a lot of overhead ... block of code in the class definition makes the class definition ...
    (borland.public.delphi.non-technical)
  • Re: When is a function not a function?
    ... a DOM element and Array or a value with falseness. ... betrays very poor code design. ... subject of the test is expected to be any of a javascript function ... There is nothing to say that an object implementing the Node interface should not be a function object. ...
    (comp.lang.javascript)
  • Re: XP Requirement Analysis?
    ... and use TDD to force the same design to emerge. ... > These principles, used with other XP situations like pair programming, ... OK, but you need to know what that interface is, so you must do some ... to buy a business value. ...
    (comp.object)

Loading