Façade pattern
The objective of this post is to explain and show how to implement the Façade Pattern in a basic way.
Pre-requisites
Check all the description and information related to the Façade Pattern and return here to see a practical example.
Description
Image taken from GeekForGeeks
Imagine that you want to process multimedia like videos and images using FFmpeg.
During your development you found that your library just executes FFmpeg and run a command, but your clients don't like this idea because they manually need to create the command and make all the validations to the file,
for example you want you join two videos intro.mp4 and ending.mp4 but you need to validate that they have the same codecs, the same resolution, the output file result.mp4 cannot exists, and the destination path where the program is going to save the file has the right permissions (read and write).
