Avalon Basic Concept (3) Mode in -avalon

zhaozj2021-02-16  57

Avalon contains a lot of design patterns to implement as the best server. Different aspects of Avalon are represented by a variety of different modes. Avalon uses four major concept modes: Separation Of Interface and Implementation, Inversion Of Control, Multi-Dimensional Separation of Concerns and Aspect Oriented Programming . Avalon also uses several basic modes such as Singleton and Factory.

Avalon mode overview

(1) Separation of Interface and Implementation

Interface and implementation are the core characteristics of the Java language. But it is often misused. Here, as a pattern of Avalon, it is widely used.

(2) IOC

Avalon not only has inherited level, but also has a component level. In this level, the control of the program stream is completely in the hands of the parent component, just like the soldiers in the army accepted the military officers.

(3) SOC

(4) AOP

This is the next logic step providing SOC. Many relationships cannot use standard OOP mechanisms to centralize addressization. And use AOP (expansion of OOP), we can implement it in a simple way. Because the AOP function in Java is not very good, we use the aspect marker interfaces and COP replacement.

Related resources: with sound access new year fireworks animation effects - html-code

转载请注明原文地址:https://www.9cbs.com/read-16576.html

New Post(0)