Linux and PHP web application support and development (Bromsgrove, UK)

php

Why you want to upgrade from PHP5.6 to 7.0

Here’s why it’s a good idea …. (The server was upgraded on the 23rd of May. The graph shows CPU time – where yellow is idle and blue+green are used/busy).

, , ,

Read more...

3D Printworld — new e-commerce website

3D Printworld‘s new website recently went live. We wrote it from the ground up, applying a theme provided by an external designer. It has a responsive design so should look good on mobile and desktop platforms and an integrated CMS for administrators to update content through. It uses PayPal for payments. So, if you need […]

,

Read more...

Integrating a Google drive spreadsheet with WordPress

Recently, the Bromsgrove Hockey club asked if they could show upcoming matches / fixtures / results on their website. Here’s a short summary of how we integrated Google Drive/Docs Spreadsheets with WordPress.

, , , ,

Read more...

xdebug – profiling a really long running PHP application (and handling really large cachegrind output files)

Normally, profiling a PHP application is pretty straight forward thanks to the great xDebug . Normally, we’re looking at profiling a slow page (taking 5-15 seconds to load) and improving it’s performance down to a sub-second response. Such profiling can produce relatively large output files – e.g. in the order of a few hundred megabytes. Unfortunately […]

, ,

Read more...

Zend_Validate_StringLength and iconv_strlen

One customer parse a substantial amount of (somewhat poorly formed) XML on a daily basis. (I say poorly formed as the prolog does not specify a character set — i.e. the file starts with <?xml version=”1.0″> and not <?xml version=”1.0″ charset=”UTF-8″> and different files will contain either UTF-8 or ISO-8859-1 text depending on the data […]

Read more...

PHPUnit and PDO – max_user_connections reached

We have a set of PHPUnit tests running against a Propel/PDO application. Recently, with a recent increase in the number of tests, we’ve found that we’ve been hitting MySQL’s max_connections or max_user_connections limit (see /etc/mysql/my.cnf on the MySQL server).

, ,

Read more...

Joomla Plugin Caching

Today we received an email along the lines of : “Help! A customer’s website is slow and they’re complaining it’s taking over 2 seconds to load!”

, ,

Read more...

PHP North East Conference – almost here.

The PHPNE 2014 conference is almost upon us (March 18th). See their website for more details. The schedule looks awesome – I wish I could make it. As mentioned before, Pale Purple has helped by sponsoring the event – and we’re listed on http://conference.phpne.org.uk/sponsors.html   (Perhaps we should add a listing of conferences we’ve sponsored […]

, , , ,

Read more...

Looking ahead to PHP 5.6

PHP 5.6 is almost here (we hope) – so we’ve had a look at some of the upcoming changes, and here are the ones of most interest to us. In a nutshell – variadics & splat, constant scalar expressions and ArrayOf type hinting ….

, , ,

Read more...

FourSquare API Integration thoughts

We’ve been rummaging through a few REST APIs recently – trying to integrate and match up data from various providers with the aim of improving the overall experience on a website (and accompanying mobile apps) and the quality of search results. Here are some findings from using the FourSquare API – Things which are good […]

Read more...

‹ Previous Posts