V4RB2 & Methods in RB2005

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Oct 21 19:33:26 CDT 2005


On 10/21/05 7:11 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:

> On Oct 20, 2005, at 12:02 PM, Ruslan Zasukhin wrote:


Hi Chuck,
 
>> There is no Tutorial for Class way yet
> 
> This brings up an interesting questions.
> 
> As we all know, there are advantages and disadvantages to any course
> of action one can take. This includes the development of a database
> structure.
> 
> Is there anyone or anything anywhere which describes the advantages
> and disadvantages to whichever 'way' ones decide to build a database
> using this multitude of ways you've created with Valentina2?
> 
> I'm particularly interested in the differences between the CLASS way
> and the API way.

I believe this was discussed several times on list.
So you can try search.

In short:

-----------------------------
Classes way = Static way

    this way CAN be used only if you have stable db structure.
    i.e. Several tables and fields.

Advantage:

    in fact this is the same API way, just you have structure of db
reflected in the structure of classes. This give

    -- OO way of work with db
    -- faster access to objects, because they are already exist as named
        pointers   

Disadvantage:
    
    -- harder change of db structure
            (hey! You have promise that will be static structure :-)


-----------------------------
API way = Dynamic way

    must be used by apps like DBMS, i.e. Valentina Studio, viSQL,..
    when app do not know which db it opens.
    In this case you just cannot have classes.
    


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list