As of Docker 18.09 there is a much cleaner, natively supported way to achieve what this (and other) workarounds were doing.

See https://medium.com/@tonistiigi/build-secrets-and-ssh-forwarding-in-docker-18-09-ae8161d066 for details.

Image for post
Image for post
Obligatory picture of shipping containers, because Docker.

Fitting the pieces together for a smooth, automated and reliable continuous integration or delivery pipeline is hard.

From keeping a good test suite maintained, pulling and building dependencies to deploying via FTP or Git or Capistrano or something else. You may know all the steps there are but once you start, the details can be overwhelming.

One of those details is dealing with private dependencies, for example a composer or npm module you host privately on Github. …


Remove boilerplate SMTP code, take advantage of templates in any language, and fix email client issues with MJML.

Image for post
Image for post

The Status Quo

As a developer, having worked on many applications I think I’ve written a “forgotten your password” email a thousand times. The same goes for “Welcome to product X” or “Purchase confirmation”.

These transactional emails are a simple necessity in almost all apps and thankfully they’re not that complex. You just have to write some HTML. And it’s dynamic, so setup a template language, like Twig, Handlebars, or Jinja2.

For good measure, add a plain-text version for old email clients and spam filters. …


This article was originally published at http://adamquaile.com/fieldset-in-symfony-forms on 17th May 2014, but has since been migrated to Medium.

Update: There seems to be an issue where the validation messages don’t appear directly on the relevant fields, but at the top of the form.

Currently, the Symfony Form component has no support for the HTML <fieldset>. There are some solutions for this floating around on the internet^1.

I have created a bundle to leverage this functionality quickly. You can find it on github here

About

Adam Quaile

PHP developer. http://t.co/olQvZ91Lo4

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store