The simplest static site generator

Static site generators are the best way to produce a simple, secure, super fast website. But the generators themselves aren’t all that simple, and it can be tedious to choose one of the many, learn it, and get started…. Source: https://hackernoon.com/the-simplest-static-site-generator-c775ed88d15a

Best Practices 10up Engineering

The 10up Engineering Best Practices are not geared to teach anyone to become an engineer. Rather, they aim to illustrate how to engineer the 10up way. Therefore, these best practices are intended for capable engineers…. Source: https://10up.github.io/Engineering-Best-Practices/

What is the difference between public, private, and protected?

When and why should I use public, private, and protected functions and variables inside a class? What is the difference between them? Outsider members cannot access those variables. “Outsiders” in the sense that they are not object instances of the declared class itself…. Source: http://stackoverflow.com/questions/4361553/what-is-the-difference-between-public-private-and-protected

Visibility

The visibility of a property, a method or (as of PHP 7.1.0) a constant can be defined by prefixing the declaration with the keywords public, protected or private. Class members declared public can be accessed everywhere…. Source: http://php.net/manual/en/language.oop5.visibility.php

Laravel on GalliumOS

I have used Laravel on GalliumOS using Valet Linux, https://cpriego.github.io/valet-linux/. It’s similar to the official Laravel Valet (which is Mac only) but works on Linux…. Source: https://www.reddit.com/r/GalliumOS/comments/7wcsj2/laravel_on_galliumos/

A Crash-course in PHP Namespaces for WordPress Developers

Way back in 2009, PHP 5.3 was released to the world and with it brought support for PHP namespaces — a way of easily separating your code from other developers’ code, which has since become the de facto way of encapsulating functionality across the PHP ecosystem…. Source: https://stevegrunwell.com/blog/php-namespaces-wordpress/

Install PHP 7.1 with Nginx on an Ubuntu 16.04 VPS

PHP 7.1 comes with many new features and improvements and as a result of this many developers are using it for their projects. In this tutorial we are going to show you how to install PHP 7.1 with Nginx on an Ubuntu 16.04 VPS. This will also install the required dependencies too…. Source: https://www.rosehosting.com/blog/install-php-7-1-with-nginx-on-an-ubuntu-16-04-vps/

Running a PHP Web App in a Docker Container

If you’re familiar with the process for creating a simple website using PHP, then adding Docker to the mix should be relatively easy. The great thing about using Docker is that you have better portability over your code…. Source: https://www.shiphp.com/blog/2017/php-web-app-in-docker