Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Refactoring the code base #2

@punkeel

Description

@punkeel

I think it would be great to separate the code base into multiple chunks of code: maybe work with layers?
In my head, there are 4 layers:

  • Specific Bleach to a format+target, for instance "remove macro from OOXML office document".
  • Format Bleach, responsible of cleaning all threats of a given format.
  • The Bleach Factory™, responsible of cleaning a given thing no matter what it is (and so, to guess the type)
  • 8th Layer - the user

This way, DocBleach would be a library, the "format bleaches" would be like addons/plugins, and calling docbleach.jar would launch rockets in every directions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions