Tag: Symfony2

Symfony2 components overview: Templating

In the 7th post of this series we are going to talk about a very important component for modern PHP frameworks. This component is usually hidden under a few abstractions to make the life of framework users easier, we are talking about the Templating component. The Templating component The Templating component provides an engine-agnostic infrastructure […]

March 11 / 2014

Symfony2 components overview: Validator

In the first five posts of this series we have been talking about key components for any PHP framework from the point of view of their internals, such as HttpFoundation to abstract the HTTP protocol, HttpKernel to convert a Request into a Response, Routing to map requests to controllers, EventDispatcher to add reusability and extensibility, […]

March 03 / 2014

Symfony2 components overview: Config

After a few weeks, we continue with the Symfony2 components series. This time we are going to be talking about the Config component, which helps you to load and validate configuration values, regardless of their source. Let’s imagine we want to create a blog generator system, which will take a few configuration parameters such as […]

February 21 / 2014

Symfony2 components overview: EventDispatcher

This week, in the Symfony2 components overview series, it’s time to talk about another really important component: the EventDispatcher. The EventDispatcher component For many years, in the PHP world we were used to code following a linear flow, where instructions were executed one after another, jumping to functions or methods. Events change the way we […]

October 23 / 2013
Author Raul Fraile
Category PHP, Symfony
Comments 6 Comments

Symfony2 components overview: Routing

This is the third post of the Symfony2 components series, and this time we are going to cover the Routing component, which maps an HTTP request to a set of configuration variables, which can then be used to execute code using PHP callables. The component simplifies the task of defining friendly URLs, without having to worry about […]

October 08 / 2013
Author Raul Fraile
Category PHP, Symfony
Comments 2 Comments