Protocol design patterns - The Wayland Protocol (opens in new tab)
There are some key concepts which have been applied in the design of most Wayland protocols that we should briefly cover here. These patterns are found throughout the high-level Wayland protocol and protocol extensions (well, in the Wayland protocol, at least1). If you find yourself writing your own protocol extensions, you'd be wise to apply these patterns yourself.
Read the original article