Frank Wallen

Frank Wallen is a PHP developer and tabletop gaming geek (really a gamer geek in general). He is also the proud father of two amazing young men and grandfather to two beautiful children who light up his life. He lives in Southern California and hopes to one day have a cat again.

twitter: @frank_wallen

Articles

PSR Pickup: PSR 14: Event Dispatcher

By Frank Wallen

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

Published in PHP is Standing Tall, January 2023

By Frank Wallen

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

Published in Owning The Web, December 2022

PSR Pickup: PSR-11: Container Interface

By Frank Wallen

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 to know how to construct it. Usually, containers return service objects, but it could really be any valid object in the application. The responsibilities of the Container are configuring and fetching entries, leaving it up to the framework to fetch the necessary objects to compose the application. by Frank Wallen

Published in The Value of the AST, November 2022

PSR Pickup: PSR-6 Caching Interface

By Frank Wallen

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

Published in Making Code, September 2022

PSR Pickup: PSR-7 HTTP Message Interface

By Frank Wallen

This month we’ll be looking at PSR-7, the HTTP Message Interface. Handling HTTP messages is crucial to web development. Request messages come into the server, are processed, and content is constructed and packaged into a response message and then sent back to the requesting entity. It sounds relatively simple on the surface, but it drives our internet experience. Requests and responses must be appropriately formed and follow the essential requirements and protocols. The intention of PHP-FIG’s HTTP Message Interface is exactly that, building structure around those requirements, so developers know what to expect and how to respond. by Frank Wallen

Published in Database Freedom, July 2022

PSR Pickup: Psr-3 Logger Interface

By Frank Wallen

Now that we have introduced the Autoloader (March Issue) and style guide PSRs (March and April), we’re going to look at PSR-3, the Logger Interface. We’ll continue along the path of recommendations for code structure and see recommendations for expectations and behaviors. by Frank Wallen

Published in One Last Slice, May 2022

PSR Pickup: PSR 12 Extended Coding Style Standard

By Frank Wallen

In last month’s column of PSR Pickup, I talked about PSR-4 Autoloader (PSR-0 was the first Autoloader PSR) and PSR-1 Basic Coding Standard. In this month’s column, I’ll be talking about PSR-12 Extended Coding Style Standard. PSR-12 builds on PSR-1 and is significant in the number of rules it defines, most of which are formatting styles well-supported by modern IDEs.

Published in Testing The Core, April 2022

PSR Pickup: PSRs – Improving the Developer Experience

By Frank Wallen

PHP-FIG (PHP Framework Interoperability Group) is the group of developers and projects coming together to define/suggest and maintain PSRs (PHP Standard Recommendations) for how frameworks and components communicate and work with each other. In PSR Alley, we will talk about the PSRs and how they are applied in, or affect, the real world of developing with PHP. The first ones we’ll look at are *PSR-0 Autoloading Standard*, *PSR-4 Autoloading*, and *PSR-1 Basic Coding Standard*.

Published in World Backup Day, March 2022