How to understand the web appearance pattern
This article mainly introduces the web appearance pattern how to understand the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that everyone after reading this web appearance pattern how to understand the article will have a harvest, let's take a look.
Intention
Define a high-level interface for the subsystem to improve ease of use and reduce coupling.
motivation
When we provide users with a software system, generally speaking, the simpler the interface, the easier it will be to use and the lower the degree of coupling with other systems.
Suppose we are developing a video conversion system. Generally speaking, video conversion requires several steps:
Open the conversion source file
Select the appropriate decoder
Read video information from the source file
Separate video and audio
Select the appropriate video and audio encoders respectively
Encode video and audio respectively
Synthesize video and audio
Export to target file
Each step here needs to be balanced among the contradictory requirements of output capacity, sound quality / picture quality, and processing speed, and appropriate functional modules need to be selected and parameters properly set. These decisions can only be made with considerable knowledge. For professionals, this may not be a big deal, but for the average user, on the one hand, there is not so much expertise, on the other hand, it is not so demanding, all they want is a good enough result, which is too difficult for them.
Therefore, for such a complex system, in addition to providing a detailed and powerful interface to meet the requirements of professional customers, it is also necessary to provide a high-level and simple interface for ordinary customers. For the example of video conversion, this interface may only require customers to provide the type and purpose of input and output files (on computers, through network sharing, etc.) to convert video formats.
This is the end of the article on "how to understand the web appearance pattern". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to understand the web appearance mode". If you want to learn more knowledge, you are welcome to follow the industry information channel.