Writing simple REST APIs with Silex
ThijsFeryn
Silex is a PHP micro-framework that is built on top of some key Symfony components. It allows you to rapidly develop both websites and APIs without the overhead.
This session will feature tips, tricks & examples on how to develop your very own RESTful API using Silex.
Featured topics:
- Using Composer to download and setup Silex and its dependencies
- Getting acquainted with the controller layer and routing in Silex
- Using Twig templates in Silex
- Leveraging the built-in dependency injection container
- Registering your own business logic and models as dependencies and accessing them in the controller layer
- Exploring RESTful features and using the HAL provider to create HAL structured JSON output