3 COMMENTs
PHP
Daniel Sipos, Aug 17

From Request to Response: A Journey into Drupal 8 Internals

Danny explains the Symfony-powered request-response flow in Drupal, showing you exactly what goes on under the hood when your app is run
5 COMMENTs
PHP
Bruno Skvorc, Aug 14

Using Sphinx for PHP Project Documentation

ReadTheDocs is a popular platform for free hosting of Sphinx-generated project documentation. Bruno shows you how to use it when documenting PHP projects!
22 COMMENTs
WordPress
Ben Shadle, Aug 13

WP API - Using the WordPress REST API

Ben Shadle explores the WordPress REST API (WP API), looking at extensibility, limitations, installation instructions, use cases and example API requests.
10 COMMENTs
PHP
Bruno Skvorc, Aug 12

BDD in Laravel: Getting Started with Behat and PhpSpec

In this introduction, Bruno Skvorc introduces BDD in Laravel by installing and using Behat and PhpSpec to develop a simple testable feature.
8 COMMENTs
PHP
Lami Adabonyan, Aug 10

Video: Database Access with PHP

I explain how to connect and extract data from a database using PHP, PHP Data Objects (PDO), preventing SQL injection, and finally extracting your data.
3 COMMENTs
PHP
Daniel Sipos, Aug 10

Drupal 8 Theming Revamped - Updates and New Features

Danny Sipos, SitePoint's resident Drupal expert, introduces the theming changes in the upcoming version 8 of the popular and powerful CMS
24 COMMENTs
PHP
Arno Slatius, Aug 07

Rendering Data in Yii 2 with GridView and ListView

Arno takes a look at some bundled Yii 2 components for rendering data in grids and lists, covering everything from configuration to pagination
41 COMMENTs
PHP
Scott Molinari, Aug 05

Appserver - a Production-Ready PHP-Based Server

Scott Molinari introduces Appserver.io - a full-stack PHP environment with a multi-threaded production-ready PHP-based server!
23 COMMENTs
PHP
Lami Adabonyan, Aug 03

Video: Shorthand if-else Conditionals with PHP

In this screencast I'll show you how to make your code more succinct by using the ternary operator to write shorthand if-else conditional statements in PHP.
11 COMMENTs
PHP
Wern Ancheta, Aug 03

Introduction to Elasticsearch in PHP

Wern Ancheta goes through a bare-bones introduction to Elasticsearch, the amazingly fast search engine you can populate with custom data and use with PHP.
17 COMMENTs
PHP
Parham Doustdar, Jul 31

The State of Accessibility in PHP Tools

Parham Doustdar talks about a much ignored issue in the world of coding - accessibility. Which tools do it right? Which ones do it wrong? Find out!
4 COMMENTs
PHP
Younes Rafie, Jul 29

Using Selenium with PHPUnit

Younes Rafie demonstrates the use of Selenium for acceptance testing and browser automation in tandem with PHPUnit
10 COMMENTs
PHP
Bruno Skvorc, Jul 27

Speeding up Existing Apps with a Redis Cache

In this tutorial, Bruno implements a Redis cache into an existing application - learn how you can speed up your apps by many factors in just minutes!
13 COMMENTs
PHP
Nicola Pietroluongo, Jul 25

Console Wars - PHP CLI Libraries

Nicola Pietroluongo compares three popular PHP console libraries, building the same functionality in each. Wondering which one is right for you? Find out!
22 COMMENTs
PHP
Jeff Smith, Jul 20

Defensive Programming in PHP

Jeff explains Defensive Programming - an approach to programming that aims to predict and intercept problems before they exist by following good practices
7 COMMENTs
PHP
Younes Rafie, Jul 17

Validating your data with Respect Validation

Input validation is important in any application. In this brief look at Respect/Validation, Younes Rafie introduces a different, framework-agnostic package.
13 COMMENTs
PHP
Bruno Skvorc, Jul 15

WP API and OAuth - Using WordPress without WordPress

Bruno implements WP-API and OAuth into a WordPress installation, allowing other outside apps to hook into WP and use API calls to make posts!
4 COMMENTs
PHP
Wern Ancheta, Jul 13

Caching Hat-trick: Varnish, Memcached and PHP libraries

Wern Ancheta goes through another set of common caching techniques in PHP: Varnish, Memcached and libraries like Doctrine Cache and Stash
7 COMMENTs
PHP
Wern Ancheta, Jul 11

Caching Hat-trick: Zend Opcache, Etags and Query Caching

Wern Ancheta covers three common approaches to caching in PHP: Zend Opcache, Query Caching and Expires Headers.
61 COMMENTs
Web
Bruno Skvorc, Jul 08

PHP vs Node.js Smackdown: Right of Reply

Craig Buckler compared PHP and Node in his smackdown, and now Bruno and James, SitePoint's editors, have their say.
158 COMMENTs
Web
Craig Buckler, Jul 07

SitePoint Smackdown: PHP vs Node.js

Choosing a server-side language is a subjective decision. Should you consider the reliable PHP or the more revolutionary Node.js? Let battle commence...
PHP
Daniel Sipos, Jul 06

How to Build Multi-step Forms in Drupal 8

Danny introduces Drupal 8's PrivateTempStore and shows you how to use it to develop multi-step forms (wizards)
PHP
Bruno Skvorc, Jul 03

Turning a Crawled Website into a Search Engine with PHP

Bruno Skvorc uses Twig, Bootstrap and Diffbot's PHP client to build a search engine app for Diffbot-powered harvested data collections
3 COMMENTs
PHP
Bruno Skvorc, Jul 01

Crawling and Searching Entire Domains with Diffbot

Bruno Skvorc introduces Diffbot's crawling and searching functionality as he crawls the entire SitePoint.com domain in one go, and then queries the data.