PHPNews

Local and remote code coverage for Behat

Why code coverage for Behat? PHPUnit has built-in several options for generating code coverage data and reports. Behat doesn't. As Konstantin Kudryashov ( @everzet ) points out in an issue asking for code coverage options in Behat: Code coverage is controversial idea and code coverage for StoryBDD …

Continue reading »

Written by Matthias Noback - - Aggregated on Monday February 12, 2018


The release of "Microservices for everyone"

Today I'm happy to release my latest book, "Microservices for everyone"! 90% of it was done in July but you know what happens with almost-finished projects: they remain almost-finished for a long time. I did some useful things though, like preparing a print edition of the book. Foreword Finally, and I'm very …

Continue reading »

Written by Matthias Noback - - Aggregated on Thursday October 5, 2017


Preparing a Leanpub book for print-on-demand

During the last few days I've been finishing my latest book, Microservices for everyone . I've used the Leanpub self-publishing platform again. I wrote about the process before and still like it very much. Every now and then Leanpub adds a useful feature to their platform too, one of which is an export functional…

Continue reading »

Written by Matthias Noback - - Aggregated on Wednesday August 16, 2017


Layers, ports & adapters - Part 2, Layers

The first key concept of what I think is a very simple, at the very least "clean" architecture, is the concept of a layer . A layer itself is actually nothing, if you think about it. It's simply determined by how it's used. Let's stay a bit philosophical, before we dive into some concrete architectural advice. …

Continue reading »

Written by Matthias Noback - - Aggregated on Wednesday August 2, 2017


Layers, ports & adapters - Part 1, Foreword

Looking back at my old blog posts, I think it's good to write down a more balanced view on application architecture than the one that speaks from some of the older posts from 2013 and 2014. Before I do, I allow myself a quick self-centered trip down memory lane. Why Symfony? Seven facts The archive tells an …

Continue reading »

Written by Matthias Noback - - Aggregated on Monday July 31, 2017


Designing a JSON serializer

Workshop utilities For the workshops that I organize, I often need some "utilities" that will do the job, but are as simple as possible. Examples of such utilities are: Something to dispatch events with. Something to serialize and deserialize objects with. Something to store and load objects with. …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday July 11, 2017


How to make Sculpin skip certain sources

Whenever I run the Sculpin generate command to generate a new version of the static website that is this blog, I notice there are a lot of useless files that get copied from the project's source/ directory to the project's output/ directory. All the files in the output/ directory will eventually get copied …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday June 20, 2017


Docker build patterns

The "builder pattern" As a programmer you may know the Gang-of-Four Builder design pattern. The Docker builder pattern has nothing to do with that. The builder pattern describes the setup that many people use to build a container. It involves two Docker images: a "build" image with all the build tools …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday April 4, 2017


Making money with open source, etc.

So, here's a bit of a personal blog post for once. Symfony trademark policy I saw this tweet: Suite à une mise en demeure, j’ai retiré les tutoriels qui concernent Symfony du Site. Il n’y aura pas de futures vidéos sur le Framework. — Grafikart (@grafikart_fr) March 11, 2017 Meaning: "Following a …

Continue reading »

Written by Matthias Noback - - Aggregated on Saturday March 11, 2017