By Kevin, 2 November, 2018

Shortly after publishing my last post about Erlang, I noticed a bug in the code which would not have happened if I wrote unit test(s) first. I did not do that simply because I just started learning, and didn’t want too many barriers up front to getting started (its hard to write tests when you...

Tags

By Kevin, 31 October, 2018

I have done a lot of research this year on what I believe will be some of the next great generation of tools and languages. I strongly believe PHP is on a fantastic road with 7.x, but there is another language that has been on my radar for quite some time, Elixir. Elixir is based on Erlang and...

By Kevin, 29 October, 2018

Most developers at some point or another will inevitably need to add custom code to a site. In Drupal, this could be anything from extending core functionality, altering forms, or creating entirely new functionality.

When using best practices and having knowledge of the API/framework...

Tags

By Kevin, 31 October, 2017

Earlier today there was a ping in Slack for assistance. A coworker needed to update 140 XML files with a new element, and the element value will be populated from an existing element in the node.

For most people, they hear the number “140” and think wow, this will take a while. But the...

Tags

By Kevin, 22 October, 2017

Just wanted to drop a quick post about a plugin I came across last week called fzf.

fzf is a plugin for the command line that enables fuzzy find searching for a majority of file types in the...

Tags

By Kevin, 13 July, 2017

Ever get to the end of a project and have a panic moment when you realize that all the content entered contains links in the WYSIWYG that contain the full domain, and not just the relative path to content (ex. http://dev.mysite.com)?

Who will update this? What do we do? Before we busted...

Tags

By Kevin, 10 July, 2017

Overriding a service in Drupal 8 is pretty easy. Within your sites directory, you will see a file called default.services.yml. You can adjust these defaults by adding a services.yml file in the sites directory. This is common when you want to enable twig debugging when...

By Kevin, 4 July, 2017

Just wanted to drop a quick nod to a long awaited feature in PHP that other languages have enjoyed for a while now… type hints and return types.

On a current project, I had to implement my own user authentication service in Drupal 8. While writing my class, I added new methods that I...

Tags