3 Tier Architecture - In need of an example

前端 未结 9 1489
孤城傲影
孤城傲影 2020-12-12 13:53

Presently I am working using single tier architecture. Now I am wanting to learn how to write code using 3 tier architecture. Please can you provide me with a simple example

9条回答
  •  庸人自扰
    2020-12-12 14:32

    3-tier architecture can have different meanings depending on context. Generally it means that responsibilities in the application are divided between different tiers. Typically, 3-tier refers to :

    • presentation tier" (actual user interface)
    • logic tier (application/business logic)
    • data tier (database, data storage)

    The details vary by application.

    Wikipedia, as usual, has a nice overview: http://en.wikipedia.org/wiki/Multitier_architecture

    A simple example would be a typical business app:

    • presentation: browser, or fat client
    • logic tier: business logic, typically in an application server (based on J2EE, ASP.NET or whatever)
    • data tier: a database, typically a RDBMS such as MySQL or Oracle

提交回复
热议问题