Browse category PSR Pickup
PSR Pickup: PSRs And PERs: What’s Next?
We reached the end of active PSRs and PERs. Now we can start looking at what’s next at the PHP-FIG, which we will do in this month’s column. We will look at the four PSRs in DRAFT status: PSR-5 PHPDoc Standard, PSR-19 PHPDoc Tags, PSR-21 Internationalization, and PSR-22 Application Tracing. by Frank Wallen
PSR Pickup: PER: Coding Style
No more PSR’s to discuss at the moment…say it isn’t so! Not to worry, we’ll look at a new type of Recommendation: the PHP Evolving Recommendation, or PER, in the meantime. by Frank Wallen
PSR Pickup: PSR-20: Clock
Let’s take a closer look at some of the features of the Clock interface. We’ll see how wrapping date/time in an object can simplify the process of making future changes. by Frank Wallen
PSR Pickup: PSR-18: HTTP Client
This month we will look at PSR-18, the HTTP Client. Use of APIs has grown significantly over the years, from providing sports stats and news headlines to driving the backend of websites, processing payments, and conversations with AI chatbots. Separated services like these give us greater control of content, and resources, and improved performance through […]
PSR Pickup: PSR-17: HTTP Factories
In PHPArchitect Issue 7 of Volume 21 (way back in July 2022), I wrote about PSR-7: Message Interfaces, where Request and Response interfaces were defined to ensure that requests and responses were properly structured and handled. PSR-17 was created to support PSR-7 by defining interfaces for factories to create HTTP objects. The factory design pattern […]
PSR Pickup: PSR-15: HTTP Server Request Handlers
This month we’re introducing PSR-15, which proposes standards for handling and responding to HTTP requests through request handlers and middleware. A request handler receives an HTTP message (see PSR-7 , processes the request, and returns a response. A middleware component processes incoming requests, often in combination with other middleware, and will perform specific actions before […]
PSR Pickup: PSR 14: Event Dispatcher
As the title states, what PSR-14 is truly about is an Event Dispatcher. This is what sends out the Event into the system. We’re also going to talk about Events and Listeners, as the dispatcher would have nothing to do without them. by Frank Wallen
PSR Pickup: PSR-13: Link Definition Interfaces
There are two basic types of links: link and anchor tag. This article will take a more in-depth look at both and discuss the decision developers face to use one over the other in web applications. by Frank Wallen
PSR Pickup: PSR-11: Container Interface
In this issue, we’ll discuss the Container Interface, PSR-11. The Container’s job is to act as a registry and return a service object identified by a unique key or name. Many modern frameworks and codebases implement Dependency Injection as a form of inversion of control, where the client requesting the service object does not need […]
PSR Pickup: PSR-6 Caching Interface
Caching is very important, as we know, let’s take a look at some of the issues that can be associated with caching and practices to help better optimize performance. by Frank Wallen


