No matter which API you decide to use, the basic object types and their relationship doesn’t change, just their names and the details of properties and methods. Let’s start by looking at how the pattern works.