🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6813

Re: Client/Server Question

#6813
From: Hans Galema
Date: Tue, 12 Apr 2005 10:23
45 lines
2628 bytes
JD wrote:

> To be more accurate, it will make changes to the db that server
> thinks is the live db *if* the client is connected to the
> server.

> Well not really because to do it that way, the server side
> would have to maintain different paths for each user and then
> how would the user get the server to browse for them?

There are many aspects of your database that I'm not aware of.
So I find it difficult to react on your questions. I remember
that a time ago you were going to make a server for your database
that would only allow clients to write to certain records. The writing
itself -including opening of files- was done by each individual client.

If you want individual backups for each user than just add the username
to the backuppath.

> Then they would not be able to use my program ... they'd have
> to use say NotePad which would almost certainly result in a
> corrupted file.

This I do not understand. Why would your client be unable to read
a read-only file ? Your clients wont have the intention to change
backups is it ?

>>In your other post you said that you backup in the same
>>directory. That looks like bad design for me.

> If that's what the user does ... what are you to do?

Let your client or server take care for backups.

> I noted above the problem that I have with using my server to
> access multiple db's at the same time.

It can even handlemore then one db. Great!

> Do you have a better
> idea?

This is all not specific enough to give an advise I think.

Hans.
Technical Details
Message-ID: <425ba226@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42595de6$1@newsgroups.borland.com> <42598b99$1@newsgroups.borland.com> <4259d12d$1@newsgroups.borland.com> <425a2ebe@newsgroups.borland.com> <425a6e44$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8e548e1386e6e65f
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 12 Apr 2005 12:23:13 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Client/Server Question
References: <42595de6$1@newsgroups.borland.com> <42598b99$1@newsgroups.borland.com> <4259d12d$1@newsgroups.borland.com> <425a2ebe@newsgroups.borland.com> <425a6e44$1@newsgroups.borland.com>
In-Reply-To: <425a6e44$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <425ba226@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113301542 129.125.201.248 (12 Apr 2005 03:25:42 -0800)
Lines: 47
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail