Category: PHP
-

WordPress WP_Query Tip: Always Specify Post Status
One of the quirks with working with WordPress queries is that the default arguments may not be suitable for your application. WordPress was originally a blogging platform. Now its use has expanded to many other types of websites, including news sites and e-commerce sites. Furthermore, with the advent of the Gutenberg block editor and Full…
-

If you know JavaScript, Learn PHP (Career Advice for Software Developers)
JavaScript is a popular first programming language. It is the language taught in frontend web development courses. JavaScript frameworks like React are very popular. With HTML & CSS & JavaScript, you have the perfect skillset to create a really awesome website. You can also build mobile apps with JavaScript.
-

Book Review: Security Principles for PHP Applications
Here are my notes for the first 9 chapters of Security Principles for PHP Applications: A php[architect] guide by Eric Mann, published in 2017. This book is one of the few modern books on php 7 security that I could find. I’m generally happy with my purchase here. It’s very readable, combining a good amount…
-

Use Twilio to Programmatically Text Yourself!
I built a little program that checks book prices and alerts me if the price is low enough. Recently, I integrated Twilio with it, so that I receive an SMS alert when my program finds a match. This was surprisingly easy to do.
-
Debugging PhpStorm with xDebug on Ubuntu – Solving Common Set-up Problems
I love using PhpStorm for debugging, and here’s how you can troubleshoot your xdebug config settings if you’re using Ubuntu with Apache and Php.