
77
ComPonent-oriented aPPliCation design and arChiteCture
payment toward all the items ordered from a table is captured and persists in the form
of a Bill object. Each OrderItem in Order has a corresponding BillLineItem
in the Bill.
4.3.1.2 Design of the Presentation Layer e presentation is based on a console-based
UI in the current POS implementation. e presentation layer consists of views
and controllers. Each UI view is responsible for showing one screen to the user and
collecting inputs from the user interactively. e controller objects are responsible for
processing the inputs gathered by the UI view objects. In addition, the contro