PHPNews

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


Adventures with Bash

A bit of reminiscing When I was a kid, MS Windows was still a program called WIN.COM which you needed to start from the MS-DOS command prompt. You could also add it to AUTOEXEC.BAT which was a so-called batch file . You could write these .BAT files yourself. They were basically just command-line scripts. …

Continue reading »

Written by Matthias Noback - - Aggregated on Thursday March 2, 2017


Adventures with Bash

A bit of reminiscing When I was a kid, MS Windows was still a program called WIN.COM which you needed to start from the MS-DOS command prompt. You could also add it to AUTOEXEC.BAT which was a so-called batch file . You could write these .BAT files yourself. They were basically just command-line scripts. …

Continue reading »

Written by Matthias Noback - - Aggregated on Thursday March 2, 2017


Duck-typing in PHP

For quite some time now the PHP community has becoming more and more professional. "More professional" in part means that we use more types in our PHP code. Though it took years to introduce more or less decent types in the programming language itself, it took some more time to really appreciate the fact that by …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday February 21, 2017


Duck-typing in PHP

For quite some time now the PHP community has becoming more and more professional. "More professional" in part means that we use more types in our PHP code. Though it took years to introduce more or less decent types in the programming language itself, it took some more time to really appreciate the fact that by …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday February 21, 2017