PC Review


Reply
Thread Tools Rate Thread

App design advise

 
 
John
Guest
Posts: n/a
 
      12th Jul 2005
Hi

I am making a simple contacts app involving clients, suppliers etc. Mostly
it involves data entered by the user being saved in the db and then user
able to search/browse the data. My question is; is it still advantageous to
bind ui elements to clients, suppliers "business" objects which in turn deal
with the db or can I bind ui elements directly to db? In other words is it
useful to have a three-tier app instead of a two-tier one even in this
simple case? Reasons?

Thanks

Regards



 
Reply With Quote
 
 
 
 
Michael C#
Guest
Posts: n/a
 
      12th Jul 2005
A well-developed three-tier is better, but it might be overkill. It depends
on a lot of factors like how many people are going to be using the system
simultaneously? Number and complexity of business rules? Network bandwidth
(thin client/fat client)? How much data is being stored? Etc.

For a simple, basic app that only one or two people at a time will use,
two-tier would probably be sufficient; especially if you're on a tight
deadline. For a scalable app that has more complex busines logic and needs
to handle many simultaneous users, three-tier/n-tier is the way to go.

"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> I am making a simple contacts app involving clients, suppliers etc. Mostly
> it involves data entered by the user being saved in the db and then user
> able to search/browse the data. My question is; is it still advantageous
> to bind ui elements to clients, suppliers "business" objects which in turn
> deal with the db or can I bind ui elements directly to db? In other words
> is it useful to have a three-tier app instead of a two-tier one even in
> this simple case? Reasons?
>
> Thanks
>
> Regards
>
>
>



 
Reply With Quote
 
John
Guest
Posts: n/a
 
      12th Jul 2005
How does number of user relate to the tiers of the app?

Thanks

Regards

"Michael C#" <(E-Mail Removed)> wrote in message
news:fSEAe.165791$(E-Mail Removed)...
>A well-developed three-tier is better, but it might be overkill. It
>depends on a lot of factors like how many people are going to be using the
>system simultaneously? Number and complexity of business rules? Network
>bandwidth (thin client/fat client)? How much data is being stored? Etc.
>
> For a simple, basic app that only one or two people at a time will use,
> two-tier would probably be sufficient; especially if you're on a tight
> deadline. For a scalable app that has more complex busines logic and
> needs to handle many simultaneous users, three-tier/n-tier is the way to
> go.
>
> "John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi
>>
>> I am making a simple contacts app involving clients, suppliers etc.
>> Mostly it involves data entered by the user being saved in the db and
>> then user able to search/browse the data. My question is; is it still
>> advantageous to bind ui elements to clients, suppliers "business" objects
>> which in turn deal with the db or can I bind ui elements directly to db?
>> In other words is it useful to have a three-tier app instead of a
>> two-tier one even in this simple case? Reasons?
>>
>> Thanks
>>
>> Regards
>>
>>
>>

>
>



 
Reply With Quote
 
Michael C#
Guest
Posts: n/a
 
      12th Jul 2005
Three tier is more scalable than two tier. In three-tier, or n-tier, your
middle tiers can take on the responsibility of "traffic cops", cache data if
you require, and cut down on the number of database connections required for
hundreds or thousands of users.

"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How does number of user relate to the tiers of the app?
>
> Thanks
>
> Regards
>
> "Michael C#" <(E-Mail Removed)> wrote in message
> news:fSEAe.165791$(E-Mail Removed)...
>>A well-developed three-tier is better, but it might be overkill. It
>>depends on a lot of factors like how many people are going to be using the
>>system simultaneously? Number and complexity of business rules? Network
>>bandwidth (thin client/fat client)? How much data is being stored? Etc.
>>
>> For a simple, basic app that only one or two people at a time will use,
>> two-tier would probably be sufficient; especially if you're on a tight
>> deadline. For a scalable app that has more complex busines logic and
>> needs to handle many simultaneous users, three-tier/n-tier is the way to
>> go.
>>
>> "John" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hi
>>>
>>> I am making a simple contacts app involving clients, suppliers etc.
>>> Mostly it involves data entered by the user being saved in the db and
>>> then user able to search/browse the data. My question is; is it still
>>> advantageous to bind ui elements to clients, suppliers "business"
>>> objects which in turn deal with the db or can I bind ui elements
>>> directly to db? In other words is it useful to have a three-tier app
>>> instead of a two-tier one even in this simple case? Reasons?
>>>
>>> Thanks
>>>
>>> Regards
>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Rockford Lhotka
Guest
Posts: n/a
 
      12th Jul 2005
There's an important difference between physical tiers and logical tiers
(often called layers).

Physical tiers are a tradeoff between things like performance, scalability,
fault-tolerance, security and so forth.

Logical layers are all about improving maintainability of code, decreasing
cost of development, promoting reuse and so forth.

In general terms, software should be built using an organized set of logical
layers - often Presentation/Business/Data.

Sometimes, typically due to scalability or security requirements those
layers may be deployed to separate physical tiers - thus resulting in an
n-tier system. This invariably increases the cost and complexity of a
system, and so should only be done if the scalability or security benefits
outweigh the costs.

Rocky
--
Rockford Lhotka
Magenic Technologies
rocky at lhotka dot net http://www.lhotka.net



"Michael C#" <(E-Mail Removed)> wrote in message
news:UuFAe.11084$(E-Mail Removed)...
> Three tier is more scalable than two tier. In three-tier, or n-tier, your
> middle tiers can take on the responsibility of "traffic cops", cache data
> if you require, and cut down on the number of database connections
> required for hundreds or thousands of users.
>
> "John" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> How does number of user relate to the tiers of the app?
>>
>> Thanks
>>
>> Regards
>>
>> "Michael C#" <(E-Mail Removed)> wrote in message
>> news:fSEAe.165791$(E-Mail Removed)...
>>>A well-developed three-tier is better, but it might be overkill. It
>>>depends on a lot of factors like how many people are going to be using
>>>the system simultaneously? Number and complexity of business rules?
>>>Network bandwidth (thin client/fat client)? How much data is being
>>>stored? Etc.
>>>
>>> For a simple, basic app that only one or two people at a time will use,
>>> two-tier would probably be sufficient; especially if you're on a tight
>>> deadline. For a scalable app that has more complex busines logic and
>>> needs to handle many simultaneous users, three-tier/n-tier is the way to
>>> go.
>>>
>>> "John" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hi
>>>>
>>>> I am making a simple contacts app involving clients, suppliers etc.
>>>> Mostly it involves data entered by the user being saved in the db and
>>>> then user able to search/browse the data. My question is; is it still
>>>> advantageous to bind ui elements to clients, suppliers "business"
>>>> objects which in turn deal with the db or can I bind ui elements
>>>> directly to db? In other words is it useful to have a three-tier app
>>>> instead of a two-tier one even in this simple case? Reasons?
>>>>
>>>> Thanks
>>>>
>>>> Regards
>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Chad Z. Hower aka Kudzu
Guest
Posts: n/a
 
      12th Jul 2005
"John" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):
> I am making a simple contacts app involving clients, suppliers etc.
> Mostly it involves data entered by the user being saved in the db and
> then user able to search/browse the data. My question is; is it still


These dont directly address your initial question, but based on the replies you will likely find them
useful:

http://www.codeproject.com/gen/desig...inessLogic.asp

and

http://www.codeproject.com/useritems/TierPressure.asp


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Blogs: http://www.hower.org/kudzu/blogs
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Design advise please John Microsoft ADO .NET 14 4th Feb 2009 09:44 PM
Design advise please John Microsoft Dot NET Framework Forms 14 4th Feb 2009 09:44 PM
Design advise please John Microsoft VB .NET 14 4th Feb 2009 09:44 PM
App design advise John Microsoft VB .NET 5 23rd Apr 2008 09:34 PM
App design advise John Microsoft VB .NET 8 13th Jul 2005 12:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:00 PM.