Richardmiller - richardmiller.co.uk - Richard Miller

Latest News:

Symfony2: Bundle structure – bundles as integration layers for libraries 18 Jun 2013 | 10:56 am

Many of the bundles that are part of the Symfony2 framework and the available third party bundles are effectively integration layers between a library and the framework. For example: The OldSoundRabbi...

Symfony2: Avoiding coupling applications to the environment 28 May 2013 | 12:35 pm

A quick post looking avoiding tying a Symfony2 application to the environment and instead varying config per environment. It’s tempting to access the env parameter from within an application in order ...

Symfony2: Yet more on that Twig Extension 22 May 2013 | 11:30 am

In my last post I looked at the end at creating a Twig extension that would return the template to extend in order to pull the logic for the decision out of the template. The template names were just ...

Symfony2: More on Twig Ajax Templates 27 Feb 2013 | 01:33 pm

This post is a few notes to follow up on some of the responses to my previous post on reusing inner Twig templates for full page responses and ajax responses. One clarification to make, as I had not m...

Symfony2: Ajax and Full Page Templates 18 Feb 2013 | 06:16 pm

A quick look at one way to use the same controller action and Twig template (or just template) for displaying a full page and also just the inner content for an Ajax request in a Symfony2 application....

Symfony2: Trimming Fat from Controllers 31 Oct 2012 | 12:39 pm

In this post I am going to look at some techniques for cleaning up Symfony2 controller actions. Some of this by using some of the extras that are part of the standard distribution and some by moving c...

Symfony2: Console Usage Notes 17 Aug 2012 | 09:23 pm

There is quite a lot of documentation, blog posts etc out there on writing console commands for Symfony2. Here though I am going to look at the more basic usage of the console with a few notes on gett...

Symfony2: Coding Standards Update 8 Aug 2012 | 12:56 am

I posted about coding standards in Symfony2 and how to check them a while ago. Since then the standard used has changed as Symfony2 has adopted the PSR 0,1,2 standards. This is just a very quick post ...

Symfony2: Using Validation Groups 15 Jun 2012 | 04:29 pm

Validation groups are covered in the Symfony2 documentation but are split between the sections of validation and forms. In this post I will look at using them when you have multiple forms for a single...

ShefPHP Symfony2 Bootcamp Part 3 9 May 2012 | 02:17 am

Tomorrow is the third part of the ShefPHP Symfony2 bootcamp. As well as last month’s requirements, this month you need to install elasticsearch. For the purposes of the session, it can just be downloa...

Recently parsed news:

Recent searches: