VXCMD_Client_Classic_MC

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Feb 18 18:10:55 CST 2004


on 2/18/04 5:59 PM, Robert Brenstein at rjb at rz.uni-potsdam.de wrote:

>> Robert,
>> 
>> I have told already.
>> We need differ ONLY and ONLY database object creation.
>> 
>> 
>>     db_local = Valentina( "New_Database")
>>         << create LOCAL db object from VDL.dll
>> 
>>     db_remote = Valentina( "New_Database", host, ... )
>>         << create REMOTE db from VDK_CLIENT.dll
>> 
>> 
>> As result we get 2 dbRef.
>> 
>> Now database objects SELF know which code LOCAL or REMOTE to use.
>> 
>> And all rest coding will be the same.
>> At least it must works in this way.
> 
> 
> 1) this will work ONLY if there is a single shared library (kernel)
> for local and server (client). I gather it makes no difference
> whether we use dbRef or dbName.

Not correct!

You think about dbRef, but on C++ side this is C++ object which have much
more internal info


> 2) Is making local and remote usage transparent truly benficial?

YES OF COURSE!!!

Developer can have LOCAL project and he can switch to client/server
Changing just 2-3 lines of code.

This is HUGE BENEFIT.

> May be people who actually have products working in both modes in parallel can
> say what they think. I can see pros and cons.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list