Summary
In this chapter, we reviewed enterprise application integration and extensibility requirements through the eyes of a persona known as Developer X. By using this persona, you can ensure that your API tracks real use cases and requirements, much like your UI designs.
When defining your API strategy, keep in mind the benefits of the standard Salesforce APIs, how to evangelize them, and the significant investment Salesforce puts into them to provide access to the information stored in your Custom Objects. We have also seen that platform tools such as Lightning App Builder and Flow can be extended with embedded functionality from your package, which can be accessed without the need for code. Platform Events are also a use case for considering an asynchronous, loosely coupled API to allow notifications to be sent from your application and data feeds into your application.
When needed, leverage your Service layer to create application APIs on- and/or off-platform using Apex...