xiaomi7732 / StackBeauty

Format stack, make it easy to read and understand
https://stack.codewithsaar.net
MIT License
5 stars 1 forks source link

Refactor idea: abstract the Core, making everything else a plugin #2

Open xiaomi7732 opened 2 years ago

xiaomi7732 commented 2 years ago

The core of this is a pipe with IFrameLine payloads on it. It runs through PreFilter, Beautifier, Filter and eventually returns. The core shall have an abstraction of the process. Any concreate PreFilter/Beautifier/Filter manipulates the IFrameLine, on different stages, should be plugins.

image

Blue part for the pipeline, that's the core; Green is the payload; Yellow boxes are various plugins.