stephen cao
stephen cao

Reputation: 29

How to use SOLID principles to build an third party library abstraction layer

I am building an ASP.NET web application that uses a workflow engine, and have decided to use SOLID principles to build a third party library abstraction layer.

I guess it would be similar to a data abstraction layer. Does anyone have any advice on the most common approach for building an third party library abstraction layer?

Upvotes: 2

Views: 603

Answers (1)

Eranga
Eranga

Reputation: 32437

YAGNI is the answer to question. Reasons

  • Abstracting a single component/library would reduce the functionality of that component/library because you will have subset of functionalities after abstraction
  • Other components/libraries will not fit in to the abstraction since you have abstracted single component/library.
  • Waste of time

Upvotes: 3

Related Questions