By Matt Parker on 15/07/2015
A clothesdryer with a laundry basket sitting atop it.
At the the DrupalNorth code sprint, I spent some time chatting about code linters, and how to use them to ensure your code conforms to coding standards. So, I thought I'd share the process that works for me.

If you find a better process, please blog about it and post a link in the comments!

This tutorial assumes:

You write or modify code in a language like PHP, JavaScript, CSS, Bash, etc.

What is a linter?

Simply put, a linter is a static analysis tool that you can run to ensure that your code is free from syntax and/or style errors.

Types of linters

To help me prioritize fixing...
By Mike Gifford on 08/07/2015
Vincenzo at Code Sprint
I have been developing open-source software now for over a decade and feel that community software is a really important concept for inclusive technology. With the rise of the Linux operating system and more importantly with the growth of the Internet, more people and companies have embraced a collaborative culture. The growth of do-it-yourself initiatives that allow creators to use, modify and distribute ideas is key to making technology fit a wider range of humanity.
My company, OpenConcept, has been developing open-source solutions for the Web for the last 15 years. We develop with a...
By Matt Parker on 07/07/2015
DrupalNorth 2015 sprinters sitting around a table, listening to Cottser
The inaugral Drupal North Regional Summit was a blast!
The official Drupal North sprint was held on Sunday, June 28th, starting around 10am and ending at 4pm, in Ryerson University's Rogers Communication Centre Transmedia Zone. 21 attendees showed up from all over Canada, the United States, and even Costa Rica:
Adam White from Upper Rapids,
Alberto Rojas from Manatí,
Chris Luckhardt,
Claire Desbois from Floe design + technologies,
Eric Jenkins from Digital Bridge Solutions,
Jean-François Bohémier,
Jeremy Knab,
Jose Eduardo García Torres from Anexus IT,
Kevin Newman from Digital Echidna,...
By Matt Parker on 27/05/2015
I've often been asked how I generate both patches and interdiffs at the same time, because the instructions on currently detail the two processes separately, and different documentation pages give different instructions.

So, I thought I'd share the process that works for me, providing real-world examples from an issue that I've worked on.

If you find a better process, please blog about it and post a link in the comments!

This tutorial assumes that:

You know what patchfiles are,
You know how to use the command-line (the instructions should work in both *NIX and Windows), and,...
By Xavier Landreville on 08/05/2015
Compared to languages such as Ruby or Python, PHP lacks a good REPL. REPL stands for read-eval-print loop, and no, php -a doesn't count. A good REPL will, for one, Print the result of each operation, which the standard CLI SAPI doesn't do (and it had trouble with the Eval part until recently). What the php -a client is, however, is an interactive scripting environement. You can type code, statements, as if you were within a php script, and they'll be evaluate the same way.
Enter boris. It is a quick, simple, tiny, powerful REPL for php, that will not die. The way boris works is to fork itself...
By Sébastien Bacharach on 28/01/2015
Screenshot from the home page of the new OpenConcept website
OpenConcept has been deeply involved in raising awareness about web accessibility for a long time. As we were developing our new website, we took this opportunity to make it as accessible as possible.
Having proper alternate text for images is the low hanging fruit of web accessibility, however there were a few instances where we had to address some more unusual challenges.
In order to provide the alt and title attributes to the user profile images by default, we actually had to develop a custom module. This is something we are working on getting resolved in Drupal 8, however at the moment...
By Mike Gifford on 19/12/2014
At this time of year, a lot of people are thinking about gifts, both those that we give and receive. It is often a joyous time, although often stressful too. People come together and often reflect on what has happened in the last year, celebrate the victories and set new goals for the year ahead. We have a great deal to be thankful for and it is a time of year when we find ourselves expressing gratitute for those who have supported us and are part of our community.
I don't think we are particularly good at doing this in the Drupal community. There are tens of thousands of people who have...