Building Restful APIs with Symfony Components
Offered By: PHP UK Conference via YouTube
Course Description
Overview
Explore building RESTful APIs using Symfony components in this PHP UK Conference talk. Learn how to adapt models to desired representations, implement authentication strategies, and effectively test APIs. Discover tips for migrating legacy applications based on real-world use cases. Dive into creating POST, GET, and PUT endpoints, working with Symfony PSR-7 Bridge, and implementing custom normalizers. Understand the use of annotations, constraints, and validation techniques. Explore components and bundles like JMSSerializerBundle, FOSRestBundle, and LexikJWTAuthenticationBundle. Gain insights on error handling, testing strategies, and using fixtures with Alice & Faker. Acquire practical knowledge to build robust and efficient RESTful APIs with Symfony components.
Syllabus
Intro
1. INTRODUCTION
Sane way to approach REST
What are Symfony Components
II. SYMFONY COMPONENTS
Let's create a POST endpoint
Symfony PSR-7 Bridge
Deserializing
Annotations
Let's create a GET endpoint
Creating your custom normalizers
Simplest example
Validating objects
Constraints
Let's create a PUT endpoint
Components and bundles
JMSSerializerBundle
FOSRestBundle
LexikJWTAuthenticationBundle
IV. TESTING
Error handling - Nested errors
Error handling - HTML errors
Testing, some tips
Fixtures with Alice & Faker
Migrations - Option 1
Summarizing
Taught by
PHP UK Conference
Related Courses
Introduction to API Testing using JMeter ToolCoursera Project Network via Coursera API Testing Using Rest Assured Test Automation Tool
Coursera Project Network via Coursera API Testing Using Rest Sharp (with C#) Test Automation Tool
Coursera Project Network via Coursera Postman: The Complete Guide - REST API Testing
Udemy Robot Framework Test Automation - Level 1 ( Selenium )
Udemy