Archive of posts with the category 'PHP'


SunUp – #18-04

This week I’ve mostly: Glossary: upgraded to CakePHP 2.10.7 now that this has been released following a fix to the bug I’d identified and then tested the fix for in 2.10.6 Oversteer Racing: I’ve been working on creating a smoother transition when we change the level of drag or rolling resistance on the cars (for example, when getting a ‘tow’ from the car in front or when off the track). I’m quite pleased how this... Read on

SunUp #17-05

This week I’ve: Oversteer Racing: more work on the pit stop UI so players can select the changes to make and see how it affects pit stop duration Oversteer Racing: wrote the latest dev blog Glossary: updated to CakePHP 2.9.5 RF1: posted a blog post outlining some changes to the rules for 2017 RF1: added functionality to add and delete races which will make administering the game easier if a race is cancelled mid-season Read on

SunUp #15-07

Another busy week but I did manage to: Upgrade the shop to ZenCart 1.5.4 Upgrade the test version of RF1 to Django 1.7.4 Upgrade the Glossary to CakePHP 2.6.1 Reconstructed info for all the blog posts I’ve not done for the last couple of months… the record is now complete 😉 Analyse some stats for Bubblision Read on

SunUp #15-04

Another busy week but I did begin working on a shop upgrade to the latest version of ZenCart (which was released on the 31st December). I don’t really enjoy upgrading ZenCart and you know you’re in for a rough time when the documentation states that its upgrade process “isn’t wrong, it’s just different”. Read on

How to: Create a static copy of a Gallery 2 site

For many years I maintained an instance of Gallery 2 (http://galleryproject.org/) to share some of our photos with family and friends. However, life and technology moves on and I simply don’t have time to maintain the installation of the Gallery software* and couldn’t justify the time to upgrade it to version 3. Similarly, we don’t tend to use it for our photos any more and instead share things via Flickr, Facebook or just plain email.... Read on

SunUp #14-19

Some tasks I’ve completed this week: Upgraded the shop software so it supports PHP 5.4. Helpfully my host produced a zip of the changed files which I could compare with my own changed versions of the files so I could be sure I’d applied the same changes. I’m still stunned that the ZenCart devs haven’t provided an interim release of ZenCart that’s compatible with PHP 5.4. Made some code changes to RF1 so it supports... Read on

SunUp #14-03

I’ve still got a fair few things going on so I’ve not got as much done as I’d hoped… Perhaps this will be the trend for the first part of 2014 as the F1 season is just around the corner so I’ll need to start working on RF1. This week I’ve started the following tasks but not completed any: Player bubble collision with power-ups Fix duplicate player bubble bug Other tasks I’ve completed: Updated the... Read on

SunUp #6

For a variety of reasons I’ve not had as much time to devote to my game project as I’d hoped this week. As a result I’m a bit behind where I’d like to be in terms of the current sprint. That said, I still managed to complete a couple of tasks: The non-player bubbles now burst (albeit the particles still needing a lot of work) and are removed from the game area if they reach... Read on

Glossary – Sprint 3 complete

Sprint tasks review Created a new branch in the git repo Migrated the code Fail – confirm the existing SimpleTest test suite reports no errors Additional task – Migrated test suite to PHPUnit Tested the deployment to a fresh CakePHP 2 install Merged branch into master Moved code into production Complete Read on

Glossary – Sprint 3 start

Story By the end of this sprint we will have migrated the current application from CakePHP 1.3 to CakePHP 2.3. We will have also deployed the new codebase into production. Sprint tasks Create a new branch in the git repo Migrate the code Confirm the existing SimpleTest test suite reports no errors Test the deployment to a fresh CakePHP 2 install Merge branch into master Move code into production Expected duration One – two weeks.... Read on

Glossary – Sprint 2 complete

Sprint tasks review Work out how to extend SimpleTest to a test database with the WebTester Complete – see documentation. Create Integration Tests Created tests for Terms (public and admin functionality) Created tests for Groups (public and admin functionality) Created tests for Links (public and admin functionality) Created tests for other ancilliary models (admin functionality mainly) Complete – tests created Read on

Glossary – Sprint 2 start

Story As a developer I need to be certain that the web front-end of the application works as expected. Sprint tasks Work out how to extend SimpleTest to a test database with the WebTester Create Integration Tests (predominantly Terms, Groups, Links but also including ancillary models) Expected duration Two – three weeks. Read on

Glossary – Sprint 1 complete

Sprint tasks review Migrate existing code to a git repo Complete – Source code moved to my BitBucket account. Install SimpleTest Complete – SimpleTest installed and tested using CakePHP 1.3 core tests. Create Unit Tests (Models and Util component) Created fixtures (needed fixtures for all models) Created tests for Models Created tests for Util component Complete – tests created Read on

Glossary – Sprint 1 start

Story As a developer I need to migrate the current code base from CakePHP 1.3.15 to CakePHP 2.x. In order to do this I need to create missing unit tests as these will allow me to migrate to the new codebase and retest the migrated code. I also want the code to be under version control. Sprint tasks Migrate existing code to a git repo Install SimpleTest – the only test framework supported by CakePHP... Read on