Posts marked with “php”

Design Patterns by Moonlight: When There Be Dragons

by · September 11, 2021

0
 

As our codebases become ever more complex, the cost of change rises as well. Any change or enhancement carries a risk of breaking something else. The problem is even more acute for people new to the project who’ve not yet learned the pitfalls waiting in that particular codebase. This month we’ll be examining the problem […]

 

Education Station: PHP is the Worst

by ·

0
 

I have been programming for nearly twenty years at this point, and I have worked in various languages. At many of my previous jobs, as well as my current one, I have had the pleasure of working with PHP as the core language of my job. Since the first time I started working with PHP, […]

 

Design Patterns by Moonlight: How I Do Interfaces

by · August 14, 2021

0
 

How do the building blocks come together to form a whole? Most resources on Design Patterns look at each pattern in isolation, allowing you to focus on the pattern and its uses without being distracted by side issues. What’s missing, I have found, are examples of fitting those patterns into a working system. This month we’ll look at a feature involving […]

 

Education Station: Attributing Code

by ·

0
 

One of the most requested features in PHP for a very long time was a concept known as Annotations. Annotations allow developers to add additional context and, most importantly, functionality to code without using a procedural approach. Many articles like to say it “adds metadata” to code, but I do not think that tells the whole story.

 

Mentoring and Teaching PHP

by · July 15, 2021

0
 

By Ken Marks Hiring a new developer is a risky endeavor. What if they don’t work out? What if they get bored? What if our organization’s needs change? In this article, we’ll discuss what it takes to foster a learning environment for your tech team, why you should encourage learning, what it takes to be […]

 

Sustainable PHP: Soylent Green

by · July 14, 2021

0
 

Like many programmers, I am not a “people” person, but this article is about people. First, how might you discern what “people” aspects of your project are essential? Here’s my approach. Second, how might people inspire you and help make what you do more fun? We’ll see my approach as we make the transition from abstract discussions back to concrete details.

 

PHP Puzzles: Cellular Life

by ·

0
 

Encrypting and decrypting messages were an early computing application. Last month’s challenge was to implement and harden a cipher from antiquity. Let’s look at possible solutions before moving on to this month’s challenge.

 

Education Station: Decorating Your Code

by ·

0
 

Programming languages are vastly different when it comes to syntax. Some may look so similar that they create an entire family of languages, just like real-world languages. PHP belongs to what is known as the C-style family, which constitutes languages that use curly brackets for flow control and ignore whitespace. Python does not belong to […]

 

Mentoring and Teaching PHP

by ·

0
 

Hiring a new developer is a risky endeavor. What if they don’t work out? What if they get bored? What if our organization’s needs change? In this article, we’ll discuss what it takes to foster a learning environment for your tech team, why you should encourage learning, what it takes to be a good mentor, and what you’re looking for in a mentee. In […]

 

Programming Elasticsearch with PHP

by ·

0
 

In this article, we introduce the usage of Elasticsearch in PHP. Elasticsearch lets you add advanced searching features that you can’t easily do with a traditional database. We present the official PHP client showing some basic features like indexing, bulk (indexing multiple documents), and search. We also show some more advanced client usage, like logging, transfer statistics, and async requests. Last but not least, we present some […]