Posts marked with “php”

Let’s Discover Atoum

by · May 12, 2021

0
 

In the PHP world, if you ask most developers about testing frameworks, the first response you’ll get is PHPUnit. But there are several alternatives, and one of them is atoum. This article introduces you to atoum, the simple, modern, and intuitive unit testing framework! You will discover how to write fluent tests and execute them […]

 

On the Road to Long Living PHP

by ·

0
 

In the past ten years, PHP has undergone several transformations that made the language faster, stricter, and included support for a large variety of high-quality tooling. But, most importantly, the PHP community continued to mature as well, which led to the introduction of modern development practices, robust application architectures, and top-notch instruments.

 

Security Corner: Basics of Password Hashing

by · May 2, 2021

0
 

By Eric Mann Every web application that allows users to authenticate needs to ensure their users’ credentials are afforded the best protection possible. Conventionally, this is done by storing only the hash of a password rather than the password itself. Luckily, password hashing in PHP is secure, safe, and remarkably straightforward to implement. Last month […]

 

Security Corner: Basics of Password Hashing

by · April 9, 2021

0
 

Every web application that allows users to authenticate needs to ensure their users’ credentials are afforded the best protection possible. Conventionally, this is done by storing only the hash of a password rather than the password itself. Luckily, password hashing in PHP is secure, safe, and remarkably straightforward to implement.

 

Sustainable PHP: Machine Learning and Yoda

by ·

0
 

When you encounter extremely costly errors, take steps to prevent the error from happening in the future. The earlier we catch an error, the less expensive it is to fix. Here we discuss two costly situations: a typo in an if statement and upcoming PHP 8 breaking changes.

 

Education Station: Designing a REST API

by ·

0
 

APIs are a matter of life on the modern web. Modern web applications are no longer tasked with just rendering a web page. Our applications need to support various native client applications, or our applications may need to expose data to users. Developers face an increasing need to supply APIs as part of applications. As […]

 

About PHP’s Compromised Git Commit

by · April 1, 2021

0
 

PHP internals contributor Sara Golemon answers questions from a panel of php[architect] and PHP Ugly contributors about the recent git compromise that affected the PHP project and what they’re doing about it. You can also watch a video of the roundtable with Sara. More on This From Rasmus Lerdorf: It wasn't, but we caught it […]

 

Education Station: Deeper into the Streams

by · February 8, 2021

0
 

As I wrote last month, streams are an important feature of PHP used quite a bit without most developers ever noticing. While developers can use them to help optimize read and write operations, they are also useful for working with incoming requests and data manipulation.

 

PHP Puzzles: Environmental Noise

by ·

0
 

This month, we wrap up our grid maze theme by adding some noise or empty space to our grid that already contains a path from the entrance to the exit. The idea is to approximate an environment map for a tabletop game.

 

Front-end frameworks, dev lead duties, subresource security, and more

by · January 25, 2021

0
 

Listen to Eric, John, and Oscar discuss the articles in the January 2021 issue, Newfangled Views. Topics Covered Front-end coding with Vue and React. Responsibilities when you’re a development lead Security of third-party resources Learning new skills and avoiding burnout. Mimicking AWS S3 with Minio