Moving Symfony files in the Docker container
Once you have created the first configuration of your basic Docker stack, it is time to move the Symfony’s files into Docker’s web server service. This will make us able to run the symfony application from inside the web server container, getting the real benefits of using a system as Docker (same environment on any […]
How to dockerize a Symfony application: Introduction and the web server
Starting to use Docker is not an easy task. Starting to use Symfony on Docker is far more complex. There are too many things to understand before being able to dockerize a Symfony application. I studied Docker for more than one month before being able to dockerize our Symfony applications. How did I reach the […]
How to manage static images with Symfony’s Webpack Encore
Any web project has basically 4 kind of places where images reside: In the CSS; In a font file (think at icons); In the cloud (think at AWS S3); In the project itself as static files. Symfony’s Webpack Encore is great to manage the first two places as it is able to manage the images […]
How to use LiipImagineBundle to manage thumbnails through Amazon S3
Configure LiipImagineBundle to create thumbnails of images stored on Amazon S3 and save a cache version of them again on S3 may be really painful. In this post I’ll try to guide you step by step in the configuration process, to have a full configured data flow to create thumbnails stored on Amazon S3 using […]
Value Objects, Immutable objects and Doctrine Embeddables
I was thinking about some entities I need, when I came across a very interesting concept: Immutable Objects. The Immutable Objects are very handy to manage the so called Value Objects. In the Domain Driven Design (DDD) properties of an Entity can have two different values: other Entities (Order->getProduct() – here Product is an Entity and […]