Posts marked with “code quality”

Education Station: Night of the Living Dead (Code)

by · February 5, 2019

0
 

Legacy code is an unfortunate fact every developer has to face. Whether you subscribe to the idea that legacy code is just inherited code, untested code, or that it’s code which has reached a certain age, the grim reality of software development is that code lives, for a very long time. See how to tombstone […]

 

Security Corner: Five Risks to Look for In a Code Review

by · November 2, 2018

0
 

Development teams use code review as a way to keep track of one another’s progress on issues and tasks in the work queue. Code reviews are also a stellar way to proactively detect and address security concerns before they become critical to the success of the project.

 

finally{}: The Seven Deadly Sins of Programming: Gluttony

by · October 2, 2018

0
 

Continuing our series on the sins of programming, I want to touch on the sin of gluttony in programming. (And no, I don’t mean to infer anything about the size of our waists.) Over the years, over decades, we have continued to add layers of complexity to our code, under the auspices of making it […]

 

The Workshop: Make PhpStorm Work for You

by · August 3, 2018

0
 

This month we’re going to dive into PhpStorm and cover configuration from personal preferences to obeying standards and day to day usage. We’ll see how to use the features of an IDE to improve your productivity and the quality of your code.

 

The Life-Changing Magic of Tidying Your Code

by · May 1, 2018

0
 

When I made the transition from hobbyist to professional programmer, I discovered it isn’t enough for my code to work; it also has to be easy to maintain. At first, I wasn’t sure how to make it happen. Then, when I read Robert Martin’s book *Clean Code*, I discovered good code is written with people […]

 

Testing Strategy With the Help of Static Analysis

by · April 26, 2018

2
 

By Ondrej Mirtes. In this article, I’d like to introduce you to the concept of type safety and how it can improve the reliability and stability of your code. Once your code is more type-safe, and that fact is verified by automated tools, you can cherry-pick which parts of your application need extensive unit tests and where you can rely just on well-defined types.

 

Episode 8 – Long Running PHP

by · March 27, 2018

0
 

Eric and John go over the March features about writing daemons with PHP, Linux containers beyond Docker, accessibility, code reviews, and interview Chris Pitt, about the community in South Africa and his article on Evolving PHP. Oscar shares his experience recently upgrading an application to PHP 7.

 

The Dev Lead Trenches: Reviewing Code

by · March 23, 2018

0
 

Code reviews are one of the best ways to help a team ensure they’re writing the best code possible. In all of the jobs where we have done peer-lead code reviews, we have caught more bugs and had better discussions about code than in places or times where we just hammer code through the approval process. I know, I know; we all write beautiful, bug-free code, so why go through the hassle of a code review?

 

Education Station: How to Write Your Own Code Sniffer

by · December 1, 2017

0
 

Whether you’re new to PHP, or you’re more of a seasoned veteran, you’ve probably heard about PHP_CodeSniffer. The package, which has been around since September 2006, checks source code for coding standards violations. I’ll start off by showing you how to create a style which is a combination of other standards. I’ll then refactor it, […]

 

February 2016 – Workflow Powerups

by · February 1, 2016

0
 

We’ve released the February 2016 issue of php[architect] magazine. This issue looks at tools to help you powerup your workflows to improve your productivity. This month we have articles on using Docker for PHP development environments, evaluating different Git workflows, how to build a Continuous Integration and Testing environment, and using Symfony’s Event Dispatcher. Our […]