4 ms·
>Then the data structure being sent to the APIs got an additional parameter. It told the public interface which API had to get that data. Nice technique.
by vram22 13y ago
>Then the data structure being sent to the APIs got an additional parameter. It told the public interface which API had to get that data.
Nice technique.
- bliti 13y agoI call it the "Boarding Pass Pattern." I modeled it after the typical airplane boarding pass where everyone has the same data structure yet is going to different places/doing different things. :)
- vram22 13y agoGood name :) Another possible name could be the Differentiator Pattern (heh, just a wild try), since it differentiates between calls which otherwise have the same data. Or even the Call Router pattern, for obvious reasons ...