PHPnews.io

Overview for 'frankdejonge'

Testing without mocking frameworks.

Written by Frank de Jonge / Original link on Mar. 23, 2020

Over the years, my coding practices have changed a lot. From hacking away until it works to TDD/BDD/DDD and everything in between. One of the biggest changes in my developer career has been when, why, and how I test my code. In particular, my view on mocking frameworks has changed a lot. A couple …




Array destructuring in PHP

Written by Frank de Jonge / Original link on Apr. 30, 2018

In my day to day job I write in a number of programming languages. The majority of my time is spent writing PHP but I very much enjoy writing other languages, such as Go and Javascript, too!One of the things I like the most about JavaScript, and PHP also to some extent, is how flexible and expressi…


Being in control of time in PHP

Written by Frank de Jonge / Original link on Mar. 8, 2018

When developers talk about the infrastructural boundaries or external dependencies they often talk about databases and third-party integration. They're the first thing we'll put behind an interface so we can stub them out during our tests. This gives us some control over them. It's become relativel…