News for hackers. Stuff that matters.
Re:Interfaces Generally Belong with Users by taberiand on Sunday November 24, 2019 @12:21AM (#21618550)
I extend this to explicitly have an adaptor in the middle:

    app > depends on > app interface

    service > implements > api 

    adaptor > composes (api >> app interface)
That way the app doesn't need to know about the API, nor the API about the app. The wiring up the two are managed by the adaptor which is free to be implemented on the client/app side or vendor/service side.

There are no comments on this comment yet.