O'Reilly logo

PHP Master by Matthew Turland, Lorna Mitchell, Davey Shafik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3APIs

In this chapter, we’ll be covering APIs—or rather, the transfer of data using ways that aren’t web page-based—by looking at practical examples of how to publish and consume services, along with the theory that underlies how it all works. We’ll talk about the small details, such as the different service types and data formats, as well as big-picture concepts including how using APIs can affect system architecture.

Before You Begin

Let’s start out with some definitions. API stands for Application Programming Interface, and it refers to the interface that a particular service, application, or module exposes for others to interact with. We’ll also refer to web services in this chapter, which means we’re talking about an application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required