Building PHP RESTful Web Services

Building PHP RESTful Web Services
Building PHP RESTful Web Services
English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 3h 32m | 785 MB

APIs for Modern Web Development

Learn to structure RESTful web services with Silex

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.

This course marries in-depth content with tutorials that put the theory into practice. The focus of this course is on giving you both the understanding and the practical examples that will help you understand more about PHP RESTful web services.

What You Will Learn

  • Set up the environment and structure RESTful web service and API
  • Implement your API with Silex framework for PHP
  • Create a well-designed & useful REST API
  • Improve the security of your RESTful API
  • Leverage the built-in dependency injection container
  • Get hands-on and test your RESTful API
Table of Contents

01 The Course Overview
02 REST Overview
03 Request and Response Flow and HTTP Status Codes
04 Installing WAMP
05 Installing Composer
06 Installing Silex
07 Project Explanation and Goals
08 Creating Our First Route
09 Creating Database, Tables, and Middleware Component
10 Establishing the Connection
11 Content Negotiation and Content Types
12 Creating Read-Write API
13 Deleting Resources
14 Authentication Options and Tradeoffs
15 How Authentication Fits into Our APIs
16 Cross Framework Middleware
17 API Authentication Middleware
18 Allowing File Uploads
19 Manage Files Safely and Securely
20 Process File Uploads by Means of API
21 File Security and Storage in the API
22 Conclude the File Move
23 Hypermedia
24 Creating Payloads and Response Codes For the API
25 Scaling the API
26 Managing Complex API Routes
27 Versioning in the API