chrismitchellonline

Local Drupal Docker

2019-07-20
In this article I’m going to show how I setup a local Docker container running Drupal core to work on modules and other Drupal development tasks. By extending the prebuilt Docker Hub Drupal we can start with a clean Drupal core, then extend to install Composer and Drush, install XDEBUG, and finally launch our container using Docker Compose. Prerequisits I’ll assume you have Docker installed are comfortable with creating new images with Dockerfiles and can launch images with Docker Compose. Continue reading

Debugging NodeJS using VS Code

2019-05-30
In a previous article I wrote about NodeJS async and await, in which I used real world working examples and wrote/tested all code shown in the article as I was writing. While digging into these concepts I quickly realized that while writing code examples of any kind, I was going to need a debugger. VS Code Debugging I use VS Code to do 90% of all of my development, with VI being the other 10%. Continue reading

Quick Promises with NodeJS

2019-05-17

Typically in NodeJS version 7.6 and later instead of using promise chaining and callback functions, or as this is commonly referred to as callback hell we can now use async and await. In this article I’ll show you my two favorite go-to patterns to utilize Promises in Javascript.

Continue reading

Managing AWS CLI Accounts

2019-05-01

If you have multiple AWS accounts that you would like to access using the AWS CLI tools then you will need an easy way to switch between accounts before running any CLI commands. AWS Named Profiles offers an easy way to manage CLI access to your different AWS accounts.

Continue reading

Twitter Cards

2019-03-29

I have been working on this blog for a few months now, and am really starting to like the progress that I am making with blogging in general. Its a great way to communicate my thoughts in the wide world of web dev. So I thought Hey! I’m going to post a blog post on Twitter!

So I copied the link and sent out to the masses. Low and behold, a tweet for my blog:

Continue reading

Lambda Layers

2019-03-06

Lambda layers allow you to pull in custom code and content into your Lambda functions. This is a great tool for NodeJS dependencies that are managed via NPM.

Continue reading

Lambda Qualifiers

2019-02-28
Lambda Qualifiers Lambda qualifiers allow you to publish multiple versions of your Lambda function and allow for naming of versions with aliases. A good use for this is to seperate Lambda functions into multiple environments. For example, I would like to have a Dev version of my function running that I can push code to test as I develop, without interrupting any production or testing websites. I would also like to have a QA or Staging environment to send out updates to a QA team, and finally a Prod version, that is hands off production. Continue reading
Social Media
Sponsor