Book Image

Building PHP RESTful Web Services [Video]

By : Halil Burak Cetinkaya
3 (1)
Book Image

Building PHP RESTful Web Services [Video]

3 (1)
By: Halil Burak Cetinkaya

Overview of this book

PHP 7 has modernized the way developers write code, simplifying various operations and adding support for several more. This course explains the basic concepts associated with the REST architectural style, but the emphasis is on creating PHP code for consuming and creating RESTful services in PHP. Filled with example PHP code to illustrate concepts, the course targets PHP developers who want to build or make use of RESTful web services, or explore the options available to them in PHP. Beginning with an introduction to the REST architecture, the course goes on to build a complete web service in vanilla PHP. It shows you how to develop APIs that can be consumed by other services. You will learn to test and secure your web services and use a framework such as Silex or Phalcon to simplify the development process. You’ll finally understand how to add reactivity to your web services, gearing you up for the journey to a microservice-based application.
Table of Contents (6 chapters)
Chapter 6
Taking Further Steps
Content Locked
Section 2
Creating Payloads and Response Codes For the API
In this video, we will start implementing Hypermedia into our API. - Learn how to implement Hypermedia - Create useful JSON payloads