Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Symfony RESTful API: Course 1

via SymfonyCasts

Overview

In this series, we get to work: by building the same API in the REST series, but leveraging all the amazing tools and libraries of the Symfony framework. If terminology like representations, resources, and hypermedia are new to you, start with the REST series and then come back. And get ready to get your (API) mind blown.

In Course 1, we'll start quick with:

  • Build your first functional POST endpoint
  • Decoding the Request body
  • Using forms to handle incoming data
  • Writing tests for your API
  • Handling data "seeding" for your tests
  • GET, PUT, DELETE and PATCH endpoints
  • Using the JMS Serializer

Syllabus

  • POST To Create
  • Finish POST with a Form
  • Handling data with a Form
  • GET one Programmer
  • Tightening up the Response
  • GET a Collection of Programmers
  • Add a Test!
  • Test Code Reuse
  • Tests with the Container
  • Mad Test Debugging
  • Test Fixtures and the PropertyAccess Component
  • The ResponseAsserter!
  • Using a Test Database
  • PUT is for Updating
  • Read-Only Fields
  • DELETE is for Saying Goodbye
  • PATCH is (also) for Updating (basically)
  • Using a Serializer
  • Centralize that Response!
  • Taking Control of the Serializer

Taught by

Ryan Weaver and Leanna Pelham

Reviews

Start your review of Symfony RESTful API: Course 1

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.