Have you ever found yourself stuck with gibberish characters in a database that you’ve just imported? Is your data looking like someone’s tried to mask expletives? Then perhaps you’ve found yourself exporting a latin1 encoded database containing UTF-8 characters.
This is the website of Andy Carter a PHP and jQuery web developer in the Steel City. Working with CakePHP (and a bit of Textpattern and Drupal too).
A look at using PHP traits with Laravel’s Eloquent models, hooking them up with events and making them configurable.
I’ve released the latest version of my Social Share plugin for CakePHP today.
Last week I found myself needing to quickly seed a column in a database with incremental datetime values. This is not something I’d ever needed to do before in MySQL, but the solution I found was beautifully simple. So I am going to share here how I did this and show you how you can easily populate a column for existing records with an incremental value.
This is a brief introduction to Unit Testing with PHPUnit and is based on a lightening talk I gave at Sheffield PHP on the 18th January 2018. We’ll take a look at what unit testing and PHPUnit are, why we would use them and finally look at how we can start writing tests.
Package managers like Composer for PHP and NPM for Node have become essential tools for simplifying a developer’s life. A package manager is a tool for keeping track of what you’ve installed, as well as installing and upgrading packages. They also check for dependencies and compatibility. Bower is a package manager for the web.
A beginners guide to the task runner Gulp. Taking a look at why you should use it and why it is possibly better than Grunt.
- RT @evolutednm: A huge shout out and thank you to Jimbo for 10 years of incredible, hard work at Evoluted! We're so grateful he's part of t… 22 March 2018
- So sad 😢 "Sudan, last male northern white rhino, dies in Kenya" bbc.co.uk/news/world-afr… 20 March 2018
- Wasn't expecting to see quite so much snow at this time in March but Norfolk Park looked beautiful today.… twitter.com/i/web/status/9… 18 March 2018
- There are so many issues with the new @syptweet website it is embarrassing, so much of the content is inaccessible… twitter.com/i/web/status/9… 16 March 2018
- Airbus CIO: We dumped Microsoft Office not over cost but because Google G suite looks sweet theregister.co.uk/2018/03/15/air… 16 March 2018