Blog / tutorials

Creating admin index pages is a pretty common requirement, and it's a chore. There's nothing particularly exciting about it, and there's a lot of scope for errors. In this post I describe our best practices for creating such pages efficiently and safely.

18 May 2015 — Updated to use the HTML5 template tag.
Written by Olivier Pichon on Wednesday April 15, 2015 Category:  tutorials

If your symfony bundle includes some javascripts assets (such as jquery plugins), then a number of pesky practical issues arise:

  • how do you make sure that the latest versions of the assets are used?
  • or, conversely, how do you make sure that specific versions of the assets are used?
  • How do you ensure that the assets releases are compatible with each other?
  • how do you store these assets in your version control system?

Using bower and gulp provides a simple and flexible way to resolve these questions.

Written by Olivier Pichon on Saturday March 14, 2015 Category:  tutorials

The symfony application framework provides a "form" component that is particularly well thought-out. Nevertheless, this component does confuse some developers initially. Here are a few pointers to get you started in the right direction.

Written by Olivier Pichon on Saturday March 7, 2015 Category:  tutorials

The symfony application framework includes a "form" component that is powerful, flexible and consistent. This component includes 2 particularly convenient features:

  • Configure a form dynamically, e.g. based on the form's underlying object
  • Convert the form's submitted scalar data into something else (e.g. objects)

Unfortunately, these 2 aspects are not directly compatible. Nevertheless, a simple solution exists.

Written by Olivier Pichon on Saturday March 7, 2015 Category:  tutorials