3tier_banner.gif Main Index  PREV  NEXT

Valid HTML 4.01!   Valid CSS!

3 Tier Overview

For those of you who are unfamiliar with the term '3 Tier architecture' here is a brief overview.

All software contains code that can be broken down into the following categories:



The 1-Tier structure

If the 3 categories of logic are contained within a single component then the component is said to have a 1-tier structure, as shown in figure 1:

Figure 1 - the 1-tier structure

section02_001.gif

The 2-Tier structure

If one of the areas of logic is separated out this produces what is known as the 2-tier structure, as shown in figure 2:

Figure 2 - the 2-tier structure

section02_002.gif

By default UNIFACE components are based on the 2-tier structure as the data layer is normally provided by a database driver which is supplied by Compuware. This is shown in figure 3:

Figure 3 - UNIFACE and the 2-tier structure

section02_003.gif

The database driver can either be dedicated to a particular database, such as ORACLE or SOLID, or the general-purpose ODBC driver (Open DataBase Connectivity).

The 3-Tier structure

If each category of logic is contained within a separate component then this produces what is known as the 3-tier structure, as shown in figure 4:

Figure 4 - the 3-tier structure

section02_004.gif

In this structure the Presentation Layer is not in direct communication with the database. In order to send or receive data it must communicate with the Business Layer which in turn communicates with the Data Layer.

In UNIFACE this structure can be developed using the component types which are shown in figure 5:

Figure 5 - UNIFACE and the 3-tier structure

section02_005.gif


copyright.gif http://www.tonymarston.net