Entry point in the system’s back end


Each interactive element of the user interface (for example, buttons) triggers an action in the back end of the system. In some simple scenarios, the action that follows some user’s clicking takes just one step to conclude.  Wordpress Development

More realistically, though, the user’s clicking triggers something like a workfl ow. The application layer is the entry point in the back end of the system and the point of contact between the presentation and back end. Wordpress Development India

 The application layer consists of methods bound in an almost one-to-one fashion to the use-cases of the presentation layer. You can group methods in any way that makes sense to you. I tend to organize application-layer methods in classes that go hand in hand with controller classes. In this way, the OrderController class, for example, has its own private instance of an OrderService class. (See Figure 5-4.) Methods in the OrderService class get classes in the input model and return classes from the view model. Internally, this class performs any necessary transformation to make data render nicely on the presentation and be ready for processing in the back end.

Comments

Popular posts from this blog

Samsung Galaxy Watch 4 Classic review