PHPNews

8 Tips for Improving Bootstrap Accessibility

A few years ago, I wrote about my experiences on developing a Bootstrap version 3 project to be fully accessible for people with disabilities. This focussed mostly on how accessible it is in terms of front-end design. (It didn’t cover accessibility in terms of screen readers, as that’s a whole other story.) While I …

Continue reading »

Written by Sitepoint - - Aggregated on Monday February 12, 2018


How to Optimize SQL Queries for Faster Sites

This article was originally published on the Delicious Brains blog , and is republished here with permission. You know that a fast site == happier users, improved ranking from Google, and increased conversions. Maybe you even think your WordPress site is as fast as it can be: you've looked at site performance, …

Continue reading »

Written by Sitepoint - - Aggregated on Monday November 20, 2017


Your First PHP Code

The following is a short extract from our new book, PHP & MySQL: Novice to Ninja, 6th Edition , written by Tom Butler and Kevin Yank. It's the ultimate beginner's guide to PHP. SitePoint Premium members get access with their membership, or you can buy a copy in stores worldwide. Now that you have your virtual …

Continue reading »

Written by Sitepoint - - Aggregated on Tuesday October 31, 2017


Let’s Compare: RunCloud vs Forge vs ServerPilot

When your website or web application has outgrown your shared hosting account, it is time to move it to the cloud, or into a virtual private server (VPS). Nowadays, VPS providers offer better value in terms of CPU and RAM resources than the shared hosting counterparts. However, I can recall when I wanted to move my …

Continue reading »

Written by Sitepoint - - Aggregated on Sunday September 24, 2017


Rapid Development of Zend Expressive Modules

I have learned a few tricks when writing Zend Expressive modules that I want to share with you. Please follow the previous post first to set up a proper working environment. I explained how to install and configure Zend Expressive with Doctrine, Gulp, and an abstract reflection factory - it'll take a total of …

Continue reading »

Written by Sitepoint - - Aggregated on Monday September 4, 2017


ReactJS in PHP: Writing Compilers Is Easy and Fun!

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 user-land version of it, using a basic state-machine compiler. It …

Continue reading »

Written by Sitepoint - - Aggregated on Friday August 25, 2017