How to Build a Simple REST API in PHP

In this tutorial, I’ll teach you how to build a simple REST API with PHP and MySQL. REST has become the de facto standard when it comes to exposing data via APIs and building web services. In fact, most web applications these days access and expose data via REST APIs. With the popularity of front-end… Continue reading How to Build a Simple REST API in PHP

Crash Course in the PHP Ternary Operator With Examples

In this article, we’ll discuss the ternary operator in PHP. Along with the syntax, we’ll go through a couple of real-world examples to understand how it works. What Is the Ternary Operator? The ternary operator (? and :) is a conditional operator which allows you to execute a condition, and based on the result of… Continue reading Crash Course in the PHP Ternary Operator With Examples

30 HTML Best Practices for Beginners

This tutorial is specifically for those who are just diving into web development. If you have one year of experience or less, hopefully some of the tips listed here will help you to become better, quicker! 1. Always Close Your Tags Back in the day, it wasn’t uncommon to see things like this: <li>Some text here.… Continue reading 30 HTML Best Practices for Beginners