Both Server and Local databases?
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Sep 9 11:41:22 CDT 2003
on 9/9/03 11:33 AM, Mike Albert at malbert at asia.apple.com wrote:
Hi Mike,
> Would it be feasible to add to the V4RB plugin (not Client) the ability to
> ignore the extra parameters (not do anything) for the statement
> "VDatabase(inhost, inuser, inpasswd)". If it could do this then I would be
> able to develop my project as a single project and then just swap in the
> appropriate plugin to test the client.
> I have already built all of the server hooks into my source....the difficulty
> I face is that neither plug-in understands (or ignores) the syntax superset -
> so I have to modify the source repeatedly to be able to switch between client
> and server based testing....this takes a lot of time.
>
> If we had the above, we could avoid changing the source just to test server
> functionality etc. and make life a lot easier.
>
> Just a suggestion.
Guys, if you look deeply then ONLY difference between client and local dbs
-- HOW we create instance of Vdaatabse. Correct?
So I think you can put creation of database instrance into some wrap
function and use
dim db as VDatabase
IF localDB
db = new Vdatabsae
else
db = new Vdatabase(host, ...)
So you will need change only one variable.
Or I have miss something ?
--
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