Archive for the ‘Miscellaneous’ Category

ReactJS in PHP: Writing Compilers Is Easy and Fun!

Posted on: No Comments
I used to use an extension called XHP. It enables HTML-in-PHP syntax for generating front-end markup. I reached for it recently, and was surprised to find that it was no longer officially supported for modern PHP versions. So, I decided to implement a ...

PHPBot – Can a PHP Bot Help You Look up Documentation Faster?

Posted on: No Comments
I came across PHPBot the other day (not to be confused with Botman or Fondbot) - a "chatbot" which helps you look up PHP manual entries and generates example code for them. If you follow me on Twitter, you know I don't believe in chatbots being chatbot...

Duolingo for PHP – How Much PHP Can Apps like Mimo Teach?

Posted on: No Comments
Mimo is an app which claims to teach coding "on the go". As a long time Duolingo user, I could relate to this approach - particularly as I was becoming increasingly interested in achieving some degree of basic Swift literacy in the coming weeks. In an...

What Are the Workflows of Prominent PHP Community Members?

Posted on: No Comments
Workflow refers to both the process and the tools that are used in this process. Almost every developer comes up with a process of creating and finalizing the project deliverables. This process is implemented through a set of tools that the developer c...

Why Is a String Called a String?

Posted on: No Comments
Why is a string called a string? Have you ever given this some thought? We never use such a word in contexts other than programming for a set of letters sticking together, and yet - in programming it's as pervasive as the word "variable". Why is that, ...

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...