REST API with Symfony5 and PHP8 using Domain Driven Design
What you'll learn
- RestAPI implementation with best practices with idempotent requests and relevant http methods
- Domain Driven Design elements with encapsulating all domain logic inside higher level while being flexible in low level implementations inside infrastructure layer.
- Using Doctrine as ORM without coupling tightly.
- PHP8 and latest language features
- Symfony 5 and core components
This course is going to try to create a base for a scalable backend with using Symfony Framework version 5. We will separate the app to 3 main parts Application, Domain and Infrastructure. And going to try not to stay tightly coupled to the framework itself but still going to use the all features Symfony is providing us.
Application layer will be a transition between the outside world to our Domain and going to isolate everything domain related inside our DDD.
Also will be taking care of authentication with JWT and going to use Symfony Security bundle to maintain the user access definitions to resources.
Will be writing Unit tests and use a framework for mocking/stubbing the test doubles.
In Infrastructure layer we are going to use Doctrine as ORM and try to not to stay tightly coupled to the library but stay as flexible as possible so we can use the same domain logic easily whenever we want with some other library or even with plain SQL queries.
Since we are going to implement a rest api, we are also going to use an api provider to get the data for our game. To access the api provider we will implement some commands with using Symfony Command component.
Who this course is for:
- PHP Developers who wants to be fluent with Symfony so they can use it in their projects
Currently in Berlin before Istanbul/London developing web applications and managing engineering teams with over 15 years experience. Recent projects i have been working on are mostly Fin-Tech, E-Commerce, high traffic social media applications. Some companies i have worked for are eBay, TicketMaster, Rocket Internet, HelloFresh... I'm happy to share my experiences from the times Google was not around till the current AI era working with the teams/projects from US/Europe/Asia and all around the globe.
Sometimes giving talk events in Europe one was in Munich PHP Conference one of the biggest PHP conferences of Europe, about Domain Driven design. And planning some more coming this year.