Archive for the ‘Miscellaneous’ Category

How to Write JavaScript-Style Test Watchers in PHP

Posted on: No Comments
I didn't start out writing tests for my code. Like many before and since, my "testing" was to write code and refresh the page. "Does it look right?", I'd ask myself. If I thought so, I'd move on. In fact, most of the jobs I've had have been with compan...

The Theory of Constraints in PHP

Posted on: No Comments
I had been reading The Phoenix Project, a great novel about IT (you read that right), which presents day to day IT and devops problems at a large Amazon-like company in a way which makes mortals understand the complexities and chaos of 21st century tec...

How to Analyze Tweet Sentiments with PHP Machine Learning

Posted on: No Comments
As of late, it seems everyone and their proverbial grandma is talking about Machine Learning. Your social media feeds are inundated with posts about ML, Python, TensorFlow, Spark, Scala, Go and so on; and if you are anything like me, you might be wonde...

Poka Yoke – Saving Projects with Hyper-Defensive Programming

Posted on: No Comments
When working in a medium to large team on the same codebase, it can sometimes become hard to understand each other's code and how to use it. Various solutions exist to help with this. For example, you can agree to follow a set of coding standards to ma...

There’s a Gender Extension for PHP

Posted on: No Comments
Unlike in our "mainstream" paid course about exploring PHP, I like to explore the weird and forgotten areas of the language. Recently, I ventured into a section of the PHP manual which lists extensions that are used to help with Human Language and Cha...

Hello, Laravel? Communicating with PHP through SMS!

Posted on: No Comments
In this article, we will modify our Laravel-powered phone-capable weather forecast app so that it is accessible via SMS (text message) in addition to the voice telephone system. It is recommended you read the previous post if you haven't done so yet - ...

Hello, Laravel? Communicating with PHP through Phone Calls!

Posted on: No Comments
Twilio is a SaaS application which enables developers to build telephone applications using web technologies. In this two-part series, we will leverage Twilio to build a weather forecast app that is accessed using the telephone system. The backend wil...

Functional Programming with Phunkie: Building a PHP JSON Parser

Posted on: No Comments
Phunkie is a library with functional structures for PHP. In this two-part tutorial, Phunkie’s creator Marcello Duarte, head of training at Inviqa, explains how to create Parser combinators using the functional library. This post first appeared on the...

The Balance between Visual and Technical Debt in PHP

Laracasts recently published a very interesting non-Laravel video about something called visual debt. It's only 3 minutes long, so please, take the time to watch it before reading further. Done? Okay, spoilers below. In the video, Jeff starts out wit...