Intro to Behat & Selenium

Setting up behat with Selenium can be quite a task. I myself never actually got behat 3 to play nice with laravel and my setup so im still on behat 2. This is the first article about Behat testing but, depending on if this is helpful for people, there could…

NPM Style installs for composer

I have been clueless up until recently about how to install things with composer in the same way that it is done with NPM. Its amazing that something so small is so easy to do yet can still remain mysterious. Perhaps because in the grand scheme of things, it is…

How to be a web developer: Will you be successful?

First let me start this post by saying I am truly grateful to be working in this field. Being a developer is pretty much the top of the food chain in terms of what you can do for a career. Let's dissect the pros and cons: Pros You get paid…

What is a service class in PHP?

When you hear the term service in relation to PHP it can lead to some ambiguity. Like the previous post where we referred to repositories, the term services has several connotations in the world of programming. For example, you have a Service running on your computer like Nginx, or in…

What is a repository and how does it work?

When I first heard about the term "repository" in reference to code I was throughly confused. Prior to Laravel, the only place I had seen repositories were in the context of SVN or a GIT repo possibly. So what other context is there? What does this term mean in relation…

Eliminating conditional branches with dynamic method names.

How to use dynamic functoin names JavaScript: In this short article we are going to examine how to write less conditional block and make use of the dynamic nature of JavaScript to write cleaner code. The concepts below just demonstrate the technique, I make no claims to best practices or…