Service Level = Application Level = GRASP Controller Level

I think the service / application layer is the same as Larman, like GRASP Controller, which is the first object outside the GUI layer that delegates to the domain layer and needs to be reused from another GUI.

The level of service (Evans) is the same as for the application (Fowler), because Fowler himself says so in his "glare" about the "Anemic Domain Model": http://martinfowler.com/bliki/AnemicDomainModel.html

Quote: “The application level [its name for the service level]: defines the tasks that the software must perform and sends expressive domain objects to solve problems. The tasks that this level answers are significant for business or necessary for interaction with other application levels systems. This layer remains thin. It does not contain business rules or knowledge, but only coordinates tasks and delegates work in collaboration with domain objects in the next layer down. It has no state reflecting the business situation, but it may have a state that reflects the progress of the task for the user or program. "

Now let's look at the description above (and also see the FOWER PEAA book regarding the definition of service level methods from use cases), and also look at the image in the Fowler description of the service level, which illustrates the service level, which is the first level after the "user" interface " URL: http://martinfowler.com/eaaCatalog/serviceLayer.html

Now compare the above description of the service / application level with some larmic words about the GRASP controller (in the third edition of his best-selling book OOAD "UML Appearance and Patterns", age 302-306): "... the first object outside the user interface layer that receives and coordinates ("control") the system operation ... "" ... represents the use case in which the system event takes place ... "" ... Usually, the controller must delegate work to other objects; it coordinates or control it’s a lot of work .... "

, Larman GRASP Controller , Evans/Fowler Application/Service layer. ? , , Controller Service/Application.

, , , /. ?

+3
1

.

UI Controller MVC.

, Service Layer (Fowler, ) Application Layer (Evans).

( ), /. ( - HTML Flex )

GRASP, -, . , .

, !

+2

All Articles