Two-Tier vs Three-Tier Architecture: Differences and When to Use Each
In a two-tier architecture, the client application talks directly to the database server, and business logic sits in the client, the database, or both. In a three-tier architecture, a middle application tier sits between the presentation tier and the data tier, so clients never touch the database. Two-tier is simpler and suits small internal apps with few users on a trusted network.