PHPnews.io

Overview for 'matthiasnoback'

Unit test naming conventions

Written by Matthias Noback / Original link on Jun. 23, 2020

Recently I received a question; if I could explain these four lines:/** * @test */public function it_works_with_a_standard_use_case_for_command_objects(): voidThe author of the email had some great points.For each, my test I should write +3 new line of code instead write, public function testItWork…


Book release: PHP for the Web

Written by Matthias Noback / Original link on Jun. 16, 2020

While Advanced Web Application Architecture is still a work in progress, I decided to release another project in the meantime: a book for beginning PHP developers called PHP for the Web.Of course, there are PHP books for beginners, but most of them aren't very concise.They cover many related topics …


DDD and your database

Written by Matthias Noback / Original link on May. 13, 2020

The introduction of Domain-Driven Design (DDD) to a larger audience has led to a few really damaging ideas among developers, like this one (maybe it's more a sentiment than an idea): Data is bad, behavior is good. The domain model is great, the database awful.(We're not even discussing CRUD in thi…


Creating a simple link registry

Written by Matthias Noback / Original link on Apr. 28, 2020

The problem: if you publish any document as PDF, in print, etc. and the text contains URLs, there is a chance that one day those URLs won't work anymore.There's nothing to do about that, it happens.Luckily, this is a solved problem.The solution is to link to a stable and trustworthy website, that …