Application Tier's

What is meant by a 2-tier or 3-tier application? What are the things that I need to keep in mind before creating my own application

Tiers are when the components of the application are physically separate from each other and communicate vid a network.

A classic 2-tier application is

  1. A monolithic application (all user interface and business logic in the same program - might be a program you run directly in Windows or MacOS) that talks to
  2. A database running on a database server. Much more common 20 years ago.

A 3-tier application may be like a web application.

  1. UI tier - JavaScript that runs on users browsers or a phone app. This communicates with
  2. Application server which contains the business logic. The UI talks to this with REST calls over HTTP. then that talks to
  3. A database on a database server
1 Like