Re: Question to Interfaces/Objectcatalogue
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Wed, 20 Jul 2005 15:01:47 -0500
"Peter" <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8FD05BD8-74C7-497C-804E-CCC9763E3105@xxxxxxxxxxxxxxxx
> 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
I likely came across harsher than I meant. It is the nature of this medium.
IMHO, There is certainly nothing wrong with code generators - I regularly
use the VB Class Builder, Rational Rose (an old one), and an amazing
collection of data wizards, sed scripts, and templates. (So many that when I
have to 'program' at a wild box - I often sit there for awhile wondering
what to do. <g>) I was only commenting that they also have a dark side. That
is simply the ability to allow one to mass-clone a bad idea. <smile>
Many a time, usually around 8 or 9pm, I have had a great idea! Drew up a
template, and generated an almost complete suite of marvelously, truly
inspired classes, that created the objects of all objects! All before
bedtime. Only to wake up the next morning, have some coffee, and then
wonder - "What the H* was I thinking?". <g>
-ralph
.
- Follow-Ups:
- Re: Question to Interfaces/Objectcatalogue
- From: Peter
- Re: Question to Interfaces/Objectcatalogue
- References:
- Question to Interfaces/Objectcatalogue
- From: Peter
- Re: Question to Interfaces/Objectcatalogue
- From: Ralph
- Re: Question to Interfaces/Objectcatalogue
- From: Peter
- Question to Interfaces/Objectcatalogue
- Prev by Date: Re: Question to Interfaces/Objectcatalogue
- Next by Date: Connecting Out of Process Servers via COM+
- Previous by thread: Re: Question to Interfaces/Objectcatalogue
- Next by thread: Re: Question to Interfaces/Objectcatalogue
- Index(es):
Relevant Pages
|
Loading