Many people play with PHP without necessarily being professional developers. For such people, package managers may make coding seem too complicated. This article shows how to bypass the Composer barrier when installing Composer-dependent PHP packages.
Web Development
Controllers In Laravel – An Introduction
Controllers are an important part of Laravel MVC (Model, View, CONTROLLER). They are useful for organizing request-handling logic and help to keep the entire code structured and maintainable. This post is a brief primer on Laravel controllers.
Implementing Pagination Using PHP And MySQL
An SQL SELECT statement may often return thousands of rows. And when building sites, we usually don’t want to dump all those rows onto a single page (for speed and UX reasons). Instead, we split the results across multiple pages via PAGINATION.
How to Locate the .htaccess File on cPanel
There are lots of reasons why you would want to access your website’s .htaccess file: performing URL redirection, defining custom error pages, etc. Whatever the reason, you first need to locate the file on your host server. This article explains how.
Online Word Counter [With Full Source Code]
This page contains everything you need to perform (and understand) word and character counting: A fully functional word counter, detailed explanation of the code powering it, and a dump of the entire HTML, CSS, and JavaScript code that the tool uses.
The State Of Lazy-Loading – Why You Should Go Native
Google announced in April 2019 that Chrome will start supporting native lazy-loading of images. Lazy-loading offers speed boosts to image-heavy sites. Are you still using traditional lazy-loading options on your site? Here’s why you should go native.