More on V4RB 4.8.1 apps -- about Class Style ... more

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Tue Oct 22 02:06:56 CDT 2013


On 10/17/13 4:00 PM, "Joseph Morgan" <joseph at checkos.com> wrote:

>> I think may be we need yet
>> 
>> 4) Class-way more close to standard ORM techniques.
> 
> Do you mean on the database side of things, like built in to Valentina's
> software?
> 
> Or do you mean on user/developer side?
> 
> I don't know all the terminology but I have made for example a PersonClass
> that interacts with the database. All I need is do to create a new record for
> PersonClass is the following in xojo:
> 
> Dim p as new PersonClass(mdatabase)
> 
> P.firstname = George
> P.lastname = Watson
> P.phone = 222-222-2222
> NewRecId as integer = P.AddRecord
> 
> Then To access the PersonClass:
> Dim p as PersonClass(mdatabase, NewRecId)
> 
> Listbox1.addrow p.firstname
> Listbox1.cell(listbox.lastindex,1) = p.lastname
> 
> 
> Is this what you are talking about?

You describe it seems Class way

Once again.

In our Class way, we have for e.g. For class PERSON,
Only one current record.

In ORM, they have 

    p1 = new Person( )
    p2 = new Person( )
    p3 = new Person

I.e. Many records at once in the RAM.


-- 
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