Category: php
The transients API is your friend but…
from Pressjitsu: Don’t Cache WP_Query Objects
Cache the HTML you create from the query instead.
WordPress tips and Optimizing Windows 10
Debugging WordPress
Simple Debugging with WordPress – by Douglas Neiner, 3/16/10
Describes basic builtin debugging (i.e.)
Turn on debugging in wp-config.php
define( 'WP_DEBUG', true ) ;
define( 'WP_DEBUG_LOG', true ) ;
And how to leverage it a bit with some additional functionality.
Debugging WordPress Like a Master – by Bradvin, 9/26/10
Recommends NetBeans IDE (free) and xDebug. Describes setup process for local server.
Best Practices
10Up – WP PHP best practices
Performance
Writing performant code is absolutely critical, especially at the enterprise level. There are a number of strategies and best practices we must employ to ensure our code is optimized for high-traffic situations
OOPS
- WP Mayor: Tutorials and Resources for Object Oriented WordPress Plugin Development
- Jumping Duck Media: WordPress Plugin Structure
- Scott Taylor: WP + You + OOP
- Devin Vinson git repository: DevinVinson/WordPress-Plugin-Boilerplate
- envatotuts+ – Object-Oriented Programming in WordPress: An Introduction
WordPress basis starter themes
These themes can be used as a starting point for developing a custom site.
What it says.
Five Non-Mainstream Databases for PHP Apps
Part 1 – http://blog.newrelic.com/2012/07/31/five-non-mainstream-databases-for-php-apps-part-1/ Part 2 – http://blog.newrelic.com/2012/08/07/five-non-mainstream-databases-for-php-apps-part-2/
Gladius DB Gladius DB is written purely in PHP, uses flat files to store its data files and is compatible with a subset of SQL92. It doesn’t need any external libraries or drives to get started, and can also be integrated with ADODB.