Database Tests With PHPUnit
Most of us do not use PHPUnit solely for Unit Tests but we also write Integration or Acceptance Tests with PHPUnit. One very common question then is how to interact with the database correctly in those tests. Let me show you the different options and their trade offs…
eCommerce und Softwarequalität?
Auf dem Shopware Community Day 2014 hielt ich eine kurze Präsentation darüber, warum Softwarequalität wichtig ist für Betreiber von Online-Shops und IT-Spezialisten, die beim Betrieb unterstützen. In diesem Post möchte ich weitere Einblicke gewähren.
How to Refactor Without Breaking Things
Tests and baby steps are the key points to sucecssful refactoring. This article gives important tips to achieve these.
Developers Life is a Trade-Off
One of the most important skills of a developer is to make trade-offs.
Utilize Dynamic Dispatch
Dynamic Dispatch is one of the fundamental powers of object oriented programming. By using static access or traits, you throw away this power.
Testing Micro Services
End-to-end tests for micro service architecture are hardly to achieve. This blog post outlines a method to assert end-to-end functionality by measuring metrics.
Why you need infrastructure and deployment automation
The amount of time wasted on setup, synchronization and deployment of applications is often ignored by teams and managers. Manual server management and application deployment are a huge waste of time and ultimately money. In addition, manual work is often prone to error and a big risk for uninterrupted uptime of production.
Learn OOD - to unlearn it again
Learning object oriented design is essential to get to a stage where you can let the code slide again and refactor it properly when then time is right.
Code Reuse By Inheritance
Using inheritance for the purpose of code-reuse is a code smell. In this post I explain why.
Tracking Changes in PHP Projects
Since quite some time I've talked to people about the idea for a tool that tracks changes in the classes and methods of your PHP project in order to detect which entities are changed most frequently, which are often affected bugs and other statistics. After some hacking, we are now making it available on Github.
ContainerAware Considered Harmful
Making objects aware of the Dependency Injection Container can seriously harm the object oriented structure of your application.