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
- 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
- A database running on a database server. Much more common 20 years ago.
A 3-tier application may be like a web application.
- UI tier - JavaScript that runs on users browsers or a phone app. This communicates with
- Application server which contains the business logic. The UI talks to this with REST calls over HTTP. then that talks to
- A database on a database server
1 Like