473,657 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2 tier and 3 tier

what do u mean by two tier architecture and three tier architecture?wh at are their pros and cons
is a desktop application 2 tier or 3 tier?
Nov 22 '05 #1
4 6609
You can find some useful information about 2 tier architecture and 3 tier architecture at http://msdn.microsoft.com/library/de...ationmodel.asp
Nov 22 '05 #2
You can find some useful information about 2 tier architecture and 3 tier architecture at http://msdn.microsoft.com/library/de...ationmodel.asp
Nov 22 '05 #3
From the asp.net quick tutorial
A Simple Two-Tier Web Forms Page
The classic use for an external component is to perform data access. This
simplifies the code in your page, improving readability and separating your
user interface (UI) logic from the system functionality.

A Simple Three-Tier Web Forms Page
A three-tiered application model extends the two-tiered scenario to include
business rules between the UI and data access logic. This model allows UI
developers to work with a higher level of abstraction rather than directly
manipulating data through low-level data access component APIs. The middle
business component typically enforces business rules and ensures that the
relationships and primary key constraints of the database are honored.

If you have it installed, here is the link.

http://localhost/quickstart/aspplus/...inessobjs.aspx

"reiks" <an*******@disc ussions.microso ft.com> wrote in message
news:EC******** *************** ***********@mic rosoft.com...
what do u mean by two tier architecture and three tier architecture?wh at are their pros and cons

is a desktop application 2 tier or 3 tier?

Nov 22 '05 #4
From the asp.net quick tutorial
A Simple Two-Tier Web Forms Page
The classic use for an external component is to perform data access. This
simplifies the code in your page, improving readability and separating your
user interface (UI) logic from the system functionality.

A Simple Three-Tier Web Forms Page
A three-tiered application model extends the two-tiered scenario to include
business rules between the UI and data access logic. This model allows UI
developers to work with a higher level of abstraction rather than directly
manipulating data through low-level data access component APIs. The middle
business component typically enforces business rules and ensures that the
relationships and primary key constraints of the database are honored.

If you have it installed, here is the link.

http://localhost/quickstart/aspplus/...inessobjs.aspx

"reiks" <an*******@disc ussions.microso ft.com> wrote in message
news:EC******** *************** ***********@mic rosoft.com...
what do u mean by two tier architecture and three tier architecture?wh at are their pros and cons

is a desktop application 2 tier or 3 tier?

Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
5667
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a database from SQL Server to Oracle or DB2 or vice versa... and that's it.... And a lot of these enterprises don't need it as they already know what database they are going to use and they don't plan on switching in and out database in the first...
25
5598
by: David Noble | last post by:
We've been developing a web site using 3-tier architecture for 18 months now. There is a common layer that defines the classes - using XML schemas. The data layer acts as a wrapper to 3 databases - SQL Server, Oracle and AS400. The business layer exposes web services which communicate with the front end, ASP.Net. All 3 tiers are on different boxes. This works well. Now I am leading a team to build a winforms app. I need some advice as
51
4039
by: nospam | last post by:
THIS IS the DOTNETJUNKIES MESSAGE ------------------------- We're Sorry As many of you know we have recently launched SqlJunkies.com. We have overhauled our runtime and will be using it on DotNetJunkies.com also. -------------------------------------------------------------------------- YEP, DOTNET JUNKIES REDESIGN....
11
1700
by: iTISTIC | last post by:
Developing a new app and am trying to make this my first truly OOP/3-Tier app. I understand the principles of the presentation, business, and data layers. I do, however, have some questions on where certain functionality should be placed and how some things should be implemented. Let's use a simple example such as an application to manage customer records (customer_id, first_name, last_name). I'd have a Customer business object with ID,...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8730
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.