Why is Laravel the best frame

A brief introduction to the Laravel Framework

Tech talk culture

Since January I have been working as a backend developer at Questback in Cologne. What makes me very happy as an interested developer is the fact that Tech Talks on a wide variety of topics are held there at regular intervals. Since technologies and tools are developing very rapidly these days, this is a good opportunity to get to know new and interesting things and to give a brief overview of various topics as a team.

Laravel 5

Since a planned tech talk was unfortunately canceled, I spontaneously took the opportunity to give the team a brief overview of the Laravel framework. In terms of timing, it fits quite well, version 5 of the framework was released at the beginning of this month.

The Laravel Ecosystem

In the 45-minute Tech Talk, I first gave an overview of the entire Laravel ecosystem: Starting with the two repositories laravel / laravel and laravel / framework, through the framework-internal namespace to the local development environment Homestead. Of course, Laravel Forge was also mentioned, as it offers a convenient way to deploy your application on a cloud-based hosting provider.

Symfony component

The fact that Laravel in the framework itself relies on many components from the Symfony framework then caused a positive surprise for one or the other listener. A central component here is the HttpKernelInterface StackPHP, which models the entire request and response flow.

The HttpKernelInterface models web request and response as PHP objects, giving them value semantics.

Inversion of Control

What should of course not go unmentioned when introducing the Laravel Framework: Laravel's IoC Container. As the central service manager, it offers the developer the opportunity to consistently use the dependency injection pattern. And while in Laravel 4 it was previously only possible to pass dependencies via the constructor, Laravel 5 offers via Method injection also the possibility of passing objects as parameters to a method.

There is even more

Since the Tech Talk was just a first overview, I deliberately avoided (too much) program code in the presentation. Nevertheless, I briefly discussed how blade views are structured, what is hidden behind Eloquent and what an Eloquent model can look like with a relation in Laravel.

Download

The entire Tech Talk can be downloaded here as a PDF document.