[The API Book] Digest 2023–09–11

Sergey Konstantinov
1 min readSep 11, 2023

It took me a lot of time, but I finished those monstrous chapters with complete examples and an online sandbox:

[SDKs & UI Libraries] Chapter 44. Decomposing UI Components

Let’s transition to a more substantive conversation and try to understand why the requirement to allow the replacement of a component’s subsystems with alternative implementations leads to a dramatic increase in interface complexity. We will continue studying the SearchBox component from the previous chapter. Allow us to remind the reader of the factors that complicate the design of APIs for visual components…

[SDKs & UI Libraries] Chapter 45. The MV* Frameworks

One obvious approach to reducing the complexity of implementing the multi-layered component hierarchies we described in the previous chapter is to restrict possible interaction directions. As we described in the “Weak Coupling” chapter, we could simplify the implementation if we allow subcomponents to call the parent context’s methods directly…

--

--