Re: Dreaming About Redesigning SQL

From: Daniel Parker (danielaparker_at_windupbird.com)
Date: 10/15/03


Date: Tue, 14 Oct 2003 21:20:53 -0400


"Mikito Harakiri" <mikharakiri@iahu.com> wrote in message
news:A_0jb.47$It5.208@news.oracle.com...
>
> Certainly, reflection provides you with iteration over class fields. But
if
> my design is overwhelmed with reflection that indicates that I would
better
> use collections of the fields from the start. What is the point
> encapsulating data if the main access path goes through reflection?
>
I don't understand this point. Why would the design be overwhelmed with
reflection? The only reflection logic would be in a single data query
utility class. The only design consideration is matching class property
names with aliased result set column names. It's a convenient way of
populating a data object with minimal code. You have to get the data in
there somehow anyway.

Regards,
Daniel Parker



Relevant Pages

  • Re: Programaticly call a method from a different object?
    ... In most cases, reflection is not necessary. ... A better design removes the ... I do not answer questions on behalf of my employer. ... programmer helping programmers. ...
    (microsoft.public.dotnet.general)
  • Re: Optical Sensor (different from the 2-d sensor)
    ... Wescott Design Serviceshttp://www.wescottdesign.com ... "Applied Control Theory for Embedded Systems" gives you just what it says. ... I would try first with an LED or laser + a PIN photodiode. ... You may have more of a challenge minimizing the coupling between the transmitter and receiver with no reflection than you do with anything else. ...
    (sci.electronics.design)
  • Re: Static vs Dynamic
    ... >> of design. ... casting is necessary in order to have polymorphism in Java. ... >> You can very easily using reflection without casts. ...
    (comp.lang.lisp)
  • Re: Method Design Help - delegates dont help
    ... We did try reflection but didnt gain much ... We did take a step back and looked at the overall design and realized ... that the resource aquisition and usage could drop to a lower layer as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Reflection.Cache
    ... reflection to initialize once, one object is ... point: at code design time. ... > store MemberInfos and stuff (as I did at some point because I figured the ... > - most assemblies will have reasonably small numbers of types and members ...
    (microsoft.public.dotnet.framework.performance)