A question regarding the Layered Architecture Consider the following general form of a layered architecture : 



I need to check my understanding about the second layer from top . More specifically I need to check my understanding the regarding the meaning of "User interface management " . According to my understanding , UI management is the code that underlies the UI , for example it is the code for each button and each UI elements . So for example , let us consider that the user needs to generate a report from a system that uses this layered pattern as its architecture. So what happens is the user press the generate report button then the underlying code of this button knows that it need to run the code of generate report system functionality ( which exists in the third layer). After that the generate report code ( lets assume that it is implemented as a class) will refer to the database to get the required info to generate this report and then the info will "propagates upward" until it reaches the UI again to be viewed by the user. So is this right ?  In other words , is this what is the meaning of the User interface management ? and do I understand the mechanism of this architecture ?
"User Interface Management" does not have a standard accepted definition that I am aware of, so you'll have to work out what they mean by it based on context.