PHPNews

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


How to Master Your API Workflow with Postman

Building good APIs is hard, and anyone who had the chance to do so can relate to this. A project can easily grow to become a mess. One can keep trying to adopt an approach to make it more enjoyable, like trying a documentation-first workflow, but something always feels clumsy. I was trying out Postman lately, a …

Continue reading »

Written by Sitepoint - - Aggregated on Thursday August 17, 2017