Posts marked with “php”

Education Station: Designing a REST API

by · April 9, 2021

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  

 

Interview with Chris Tankersley

by · January 22, 2021

0
 

Eric and John talk to long-time contributor Chris Tankersley about contributing to the magazine and more. Topics Covered Getting started in programming and web development with PHP. Docker and using it across operating systems. Developing with PHP and the ecosystem around it. What kind of things he tries to cover in Education Station for self-taught […]

 

Sustainable PHP: Database Playback Testing

by · January 8, 2021

0
 

While completing the Deep Analysis we discussed last month, I was faced with the inability to test. That’s because—I discovered–accounting data cannot be erased—even in the sandbox. There’s no way to begin each test with a clean test environment. This month we walk through a relatively convoluted solution. We’ll capture the accounting data as we […]

 

The Workshop: S3 Storage with MinIO

by ·

0
 

This month, we’re diving into running our own S3 compatible open-source server via the open-source project MinIO. We’ll configure MinIO alongside our local development environment to quickly replicate our application’s integration with S3 object storage without operating on “production” storage buckets or having to set up “dev” buckets.

 

Education Station: Working with PHP Streams

by ·

0
 

Even with today’s larger servers and more abundant resources, web applications still need to be mindful of what resources they are using. While the days of worrying about every bit of memory have gone, many applications still work with data sets in the tens or hundreds of megabytes in size. We may not think about […]

 

PHP Puzzles: Staircase Path

by ·

0
 

Welcome to a new year! In our last puzzle, we started building a collection of related functions to output and navigate through a grid, starting with printing our grid to a command-line using dark and light shade characters to indicate wall or open path, respectively. In this article, we look at plotting a route from […]