官术网_书友最值得收藏!

Infrastructure layer

This layer provides support to all the other layers and is responsible for communication among the other layers. It contains the supporting libraries that are used by the other layers. It also implements the persistence of business objects.

To understand the interaction of the different layers, let us use an example of table booking at a restaurant. The end user places a request for a table booking using UI. The UI passes the request to the application layer. The application layer fetches the domain objects, such as the restaurant, the table, a date, and so on, from the domain layer. The domain layer fetches these existing persisted objects from the infrastructure, and invokes relevant methods to make the booking and persist them back to the infrastructure layer. Once domain objects are persisted, the application layer shows the booking confirmation to the end user.

主站蜘蛛池模板: 安多县| 乡城县| 荆州市| 东安县| 玛曲县| 蓝山县| 汝州市| 哈巴河县| 东丰县| 南郑县| 南投市| 泰宁县| 南阳市| 连南| 合阳县| 河南省| 西昌市| 延津县| 泉州市| 阿坝县| 淳化县| 镇巴县| 贵州省| 红安县| 遂平县| 忻州市| 云林县| 淮北市| 兰考县| 普兰县| 商都县| 灯塔市| 平乐县| 千阳县| 任丘市| 泾阳县| 宁晋县| 全椒县| 嵩明县| 湄潭县| 华容县|