2

While defining our application architecture (which contains both web UI and external web services) we stumbled upon our inability to find a common name for the topmost layer. It is quite clear that there are DAL (data access layer) and BLL (business logic layer) in our application. On the top of BLL, there reside the UI, which is commonly called the presentation layer (e.g., http://msdn.microsoft.com/en-us/library/ff647339.aspx). But there's also a service layer, which resides on the top of BLL as well!

But a cake can't have two layers on the same level :) So please help me to find a term for that.

Jonathan Day
  • 18,519
  • 10
  • 84
  • 137
Dmytro Shevchenko
  • 33,431
  • 6
  • 51
  • 67

3 Answers3

3

The term API (Application Programming Interface) is commonly used for programming interfaces, though in this case "Service Layer" may be more appropriate and descriptive.

Layers can be side by side - nothing says they have to be one on top of another.

Oded
  • 489,969
  • 99
  • 883
  • 1,009
  • API and "Service Layer" can be terms for web services. But what about the UI part? I'd like to have a common term. And in my world layers have to be on the top of each other. Service layer and web presentation are in one layer, at least in my opinion. – Dmytro Shevchenko Sep 01 '10 at 14:58
  • @Shedal - If you can see it and interact with it, it belongs to the Presentation Layer. – Oded Sep 01 '10 at 15:01
0

Presentation Layer is the one I've heard most for the layer containing UI components.

Jonathan Day
  • 18,519
  • 10
  • 84
  • 137
0

What about Outer Layer? Top Layer? The Layer-that-shall-not-be-named?

ObiWanKenobi
  • 14,526
  • 11
  • 45
  • 51