Martin Joiner's Blog Writing about software development, climbing and life.

Tagged: php

22 November 2024

Events from the future Vs strict API validation

The first time you install an SSL certificate is very much like the first time you make love to a woman...… Read more »
Category: Software Tagged as:
23 March 2023

Open source contribution: Open API validator

I wonder if others experience the same rush of excitement that I do when I discover a bug in an open source package? Spotting an opportunity to contribute an improvement is novel and exciting. I anticipate my pull-request being welcomed with great enthusiasm, celebrated and immediately merged... but that's rarely what happens. For example take […]… Read more »
Category: Software Tagged as:
16 January 2017

Adventures in static site generation

Here's a fact: A static web page like 'about-me.html' is stored in a simple text file so when a browser requests it from the web server it just has to open the file and send the contents back. It's a pretty fast operation. But a dynamic page like 'about-me.php' contains code that needs to be pre-processed […]… Read more »
Category: Software Tagged as:
14 October 2016

Fun with Drupal 8 and RaspberryPi

I have recently been working on a project for a local charitable organisation. I am building them a user-generated content site (in Drupal 8) that will receive it's content from a hand-held scanner (running on a RaspberryPi). The user stories are this: The Consumer: Ethically minded, tech-savvy individual is about to buy a second hand book […]… Read more »
Category: Software Tagged as:
13 July 2015

What is the skv prefix and when to use it

JSON strongly binds the variable name and the variable value, making our code more robust. But I was frustrated by the lack of distinction between an object that could be safely JSONified and those that could not.… Read more »
Category: Software Tagged as:
12 August 2013

Coldfusions cfDump / writeDump() for PHP

phDump is a PHP-equivalent of Adobe Coldfusion's excellent debugging feature, CFDump.  The screenshot above shows phDump neatly and clearly displaying the complicated nested data structure returned by Twitter's API. A visual tool like this makes it so much easier to understand during development. I built this to serve the niche group of developers (of which I am […]… Read more »
Category: Software Tagged as: