YoVDO

Building Restful APIs with Symfony Components

Offered By: PHP UK Conference via YouTube

Tags

PHP UK Conference Courses Symfony Courses API Development Courses API Testing Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

What's New in PHP 8.1
PHP UK Conference via YouTube
From Betamax to VCR - Harden Your API Integration Testing
PHP UK Conference via YouTube
Levelling Up Your Web Scraping Game
PHP UK Conference via YouTube
Practical Advanced Static Analysis
PHP UK Conference via YouTube
PHP Fibers
PHP UK Conference via YouTube