Sunday, February 28, 2021
8 Git Best Practices
The purpose of version control systems is to keep a history of a file’s changes or a very complex system consisting of thousands of files. That is it. Nothing more. When you are using it on your own, you could use it as you want, as long as it still serves its purpose and you could recall a specific version in history. However, when using distributed version control systems (DVCS), like Git, you should decide on some best practices, especially when using it as a team.
Wednesday, February 17, 2021
Static Code Analysis for Laravel
Today I will show you what type of static code analysis tools I use for Laravel based projects. All of them, with some configuration changes, one could use with any PHP project, such as those using Symfony. Static code analysis is a source code structure analysis and test without running or compiling the code. Although it will not find all potential problems and bugs and is not replacing code review, it could be beneficial, especially in bigger teams.
Friday, August 28, 2020
Internet of Things - Let's Build Something!
Over a year ago, I had done a workshop about the Internet of Things. I had targeted this workshop for programmers working with a different technology stack and with a wide range of skills but with little or no knowledge of electronics and IoT in general. The idea behind this project was to create a small, working example of an IoT device and source code written for both the embedded device and the server-side. During prototyping, we used low-cost, ready-to-use, and easy-to-assemble modules.
Sunday, February 23, 2020
PHPUnit Code Coverage and SonarQube
SonarQube is a wonderful tool for static code analysis and code review. Of course, it is not an all in one tool which replaces all other tools used in code review toolchain. SonarQube has a whole section dedicated to code coverage, but it analyzes code coverage, not run any tests.