News Feed
Sections




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

Fabien Potencier's Blog:
Create your own framework... on top of the Symfony2 Components (part 10)
January 23, 2012 @ 10:55:22

Fabien Potencier has posted the tenth part of his series about making a custom framework based on the Symfony2 component set. In this latest article he focuses on using the HttpKernelInterface to add in some additional HTTP-related support.

In the conclusion of the second part of this series, I've talked about one great benefit of using the Symfony2 components: the interoperability between all frameworks and applications using them. Let's do a big step towards this goal by making our framework implement HttpKernelInterface.

By changing up the custom framework just a bit to use HttpKernelInterface, you get built-in HTTP caching (HttpCache). He shows how to use this class to create some custom caching rules and how to use Edge Side Includes to only cache partial parts of the page.

0 comments voice your opinion now!
framework symfony2 custom tutorial series httpkernelinterface httpcache


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: Code Generation with Zend\CodeGenerator

Anthony Ferrara: Iterators - Programming With Anthony

Script-Tutorials.com: Functional Programming - How to Write Functional Code in PHP

SitePoint PHP Blog: Sending Confirmation Emails with Phalcon and Swift

Devshed: PHP Email


Community Events

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


language introduction security framework podcast release opinion php7 laravel community unittest version example api interview voicesoftheelephpant library video laravel5 series

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