🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1010

design ideas

#1010
From: Serif Selcuk
Date: Fri, 18 Aug 2000 00:00
21 lines
1468 bytes
Hi,

My accounting application must handle data belonging to different companies.
It seems to me there are at least two ways to do that:

1. Having identically structured databases, each keeping the accounting data
belonging to different company. When user log in, he/she will select which
company he/she is interested and the application will connect to relevant
database. This is easy with two-tired application since each client can have
a seperate connection to database. But I could not find an easy way to do
this with three-tier architecture since all the clients share the same
database connection.

2. A single database will hold the accounting data for all the companies. In
each table there will be a column indicating the company that the record
belong. Using filters, selects etc. application will present relevant data
too user. This makes it easier to use three-tier architecture.

Any ideas which way I should go?

Serif
Technical Details
Message-ID: <8nj7nr$bnc6@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,9f16877ffddeda62,start
X-Google-Attributes: gidfcd2b,public
From: "Serif Selcuk" <serif@softek.com.tr>
Subject: design ideas
Date: 2000/08/18
Message-ID: <8nj7nr$bnc6@bornews.borland.com>
X-Deja-AN: 659699628
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Organization: Softek
X-MSMail-Priority: Normal
Reply-To: "Serif Selcuk" <serif@softek.com.tr>
Newsgroups: borland.public.cppbuilder.database.multi-tier