Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

N-tier Architecture

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Who can explain me what is N-tier Architecture.
 
N-Tier is dividing your processes into layers.

The most common is a 3-Tier contruction:

User Interface
Business Logic
Data layer.

The user interface talks to the business logic layer, the business logic layer talks to the data layer. So the user interface layer never talks to the data layer directly.

This contruction enables you to switch layers.

To give you an example:

You have made a business logic layer in VFP and a user interface layer in VFP.

If you have programmed it the good way, you have made you business logic layer liek a COM server.

It is now easy to switch from your user interface.

To give a practical example:

My bookkeeper enters data via the VFP user interface every day.
My manager does not care about every line in the bookkeeping but only wants to see managemnet reports based upon the data entered by the bookkeeper.

Using Ecel you just let excel talk (via VBA) to your business logic layer and retrieve the data to build a management report in Excel.

In this case the manager does not have to open the accounting program to see the management data.

Switching layer does not only invlove switching user interface but also the datalayer.

let's say you are using a datalayer using VFP tables and databases. if you programmed it correctly you could switch to say SQL server as you datalayer.

HTH,
Weedz (Wietze Veld)
My private project:And especially for VFP rookies:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top