I’ve written a piece on my Test Payment Cards cheat sheet for Smashing Magazine explaining the motivations behind it. You can read Testing Credit-Card Numbers In E-Commerce Checkouts over on the Smashing Magazine website now.
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).
I’ve just released a new beta version of arc_meta for Textpattern 4.6.
As with the previous beta release, this one has a minimum requirement of Textpattern 4.6 which is also still in beta release; so neither of them are recommended for use on a live production site. However, if you use arc_meta and are testing the new version of Textpattern please check out this new release.
I’m a keen advocate for following coding standards. They help maintain consistency in code, especially when developing with others, and can generally help you to write better code. I work with Sublime Text for developing in PHP and have it set up to check against whichever coding standard I am currently using as I code. For PHP development the tool to use is PHP CodeSniffer which I’ve previously written about setting up for Sublime Text 3 on this site.
TinyMCE’s pagebreak plugin is a handy way of providing users a way of marking breaks in content by placing a HTML comment in the source code denoting the break. However, if you are using the editor’s
valid_elements attribute to restrict HTML elements used in the content (a good idea if you don’t want all sorts of messy markup getting added) you need to make sure you allow comment tags.
Earlier today I found myself needing to configure Rocketeer to deploy to a server that required commands to be run with
sudo. I’m not sure that this is particularly well documented so I thought I’d share how I did this here.
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.
- Laravel Scout looks interesting laravel.com/docs/5.3/scout - full-text search for Eloquent models #Laravel #php 23 August 2016
- RT @laravelnews: Laravel 5.3 is now released laravel-news.com/2016/08/larave… pic.twitter.com/EBSEovPRBo 23 August 2016
- RT @cakephp: Featured plugin this week - a #CakePHP link generator for sharing content on social networks github.com/drmonkeyninja/… https://t… 23 August 2016
- #TeamGB is 2nd in the #Olympics medal table ahead of China! That's impressive. 15 August 2016
- RT @vanschneider: What happens when you answer to spam emails. pic.twitter.com/QdlrMcpmo9 10 August 2016