Skip to content

Post #02 of The Containerization Chronicles

Compare
Choose a tag to compare

This is the tag with the code used in the 2nd post of The Containerization Chronicles.

Cleaning up the demo project

In order to start making experiments with containerization of applications, I am going to be using the Symfony demo project, which is a small blog where one can view and create some blog posts. Although it is a very small project, and therefore does not reflect the complexity of an enterprise cloud application, I feel it is flexible enough to experiment containerization practices, especially because I want to start small.

However, there are some things I don’t like about the project, so I start by doing some cleanup:

  1. Add roave/security-advisories
  2. Remove simple-phpunit, update to phpunit 7 and DAMA bundle 5
  3. Disable the profiler during test runs, so the tests run a bit faster
  4. Type hint all the things
  5. Change namespace from App to Acme\App to better comply with PSR-4
  6. Add a Makefile so we abstract our DevEx and automation from the tools

Continue reading ...