YoVDO

RESTful APIs in the Real World Course 2

Offered By: SymfonyCasts

Tags

Serialization Courses Authorization Courses

Course Description

Overview

Making RESTful APIs is hard, really hard. There are a lot of concepts to know - resources, representations, HTTP methods, status codes, etc.

Course 1 got us really comfortable with all the terminology. So in episode 2, we're attacking the hard stuff:

  • Using a serializer
  • Token Authentication System (Silex's security system)
  • Hypermedia versus media
  • The HAL hypermedia type
  • The HATEOAS PHP library
  • The HAL Browser
  • Embedding resources (versus adding links)
  • Tricks with Behat for testing API's
  • Pagination and filtering
  • A lot of other pieces in between!

This stuff is not easy. But if you make it through, you'll be armed to attack whatever API need you have.


Syllabus

  • The Serializer: Swiss-Army Knife of APIs
  • Serializer Configuration (SerializationContext)
  • Serializer Annotations
  • Requiring Authentication
  • Authorization via a Token
  • Securing More Endpoints
  • Authentication Error Format
  • Centralizing Error Response Creation
  • Creating Token Resources in the API
  • Reuse and Consistency
  • Validate that Token Resource
  • New Battle Resource (the Scenario)
  • Start (Create) an Epic Battle (Resource)
  • GET Your (One) Battle On
  • Battles and Programmer - Link them!
  • I

Taught by

Ryan Weaver and Leanna Pelham

Related Courses

Python 3: Deep Dive (Part 3 - Dictionaries, Sets, JSON)
Udemy
Apache Kafka Series - Confluent Schema Registry & REST Proxy
Udemy
Java Swing (GUI) Programming: From Beginner to Expert
Udemy
Java Programming
Udacity
The Ultimate Guide to Savegames in Unity
Udemy