News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ServerGrove Blog:
Symfony2 components overview HttpKernel
October 01, 2013 @ 11:25:35

On the ServerGrove blog today they've posted the second in their series focusing on individual components of the Symfony2 framework. In this new post they look at the HttpKernel component, another of the foundational blocks of the framework.

In the second post of the Symfony2 components series we are going to talk about the HttpKernel component. If the HttpFoundation component provided the building blocks of the HTTP protocol, the HttpKernel component makes use of them to define an abstract process for converting a Request into a Response.

The post looks at the HttpKernelInterface, the "front door" to the component that takes in a Request object and makes its contents accessible. Also included is a list of some of the configuration options that can be used to alter its behavior, all based on events that fire during execution (the kernel is driven by events). There's also an example included of using the StackPHP middleware as decorators on the kernel.

0 comments voice your opinion now!
symfony2 component overview httpkernel httpkernelinterface stackphp

Link: http://blog.servergrove.com/2013/09/30/symfony2-components-overview-httpkernel/

blog comments powered by Disqus

Similar Posts

Matt Stone's Blog: Using the Zend Framework ACL Library in Codeigniter

Matthias Noback: Symfony2: Add a global option to console commands and generate a PID file

Acquia Blog: 5 PHP Components every Drupal 8 Developer should know: Part 1 - Composer

Wojciech Sznapka's Blog: Loosening dependencies with closures in PHP

PHPMaster.com: Web Routing in PHP with Aura.Router


Community Events





Don't see your event here?
Let us know!


code deployment symfony community interview release laravel development introduction zendserver list series language developer tips podcast conference api framework bugfix

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework