Docker Container Exit Codes Explained

It’s one of the most common question that I come across: “Why is my container not running?” Can docker container exit codes help troubleshoot this issue? The first step in answering this question is to identify the exit code for the docker container. The exit code may give a hint as to what happened…

Dependency Injection Container in Node.js

I’m a developer coming from the PHP (PhalconPHP, Magento) ecosystem and my main concern about javascript has been that, apparently, the community has not adopted one of the practices that, for me, has been the most game changing of all: Dependency Injection. What is Dependency Injection Simply put…

What is the purpose of Javascript UI Frameworks?

What is the purpose of JavaScript UI libraries/frameworks like React, Vue, Angular, Hyperapp, etc? Answer The main purpose is to avoid manipulating the DOM directly and keep the state of an application in sync with the UI easily. Additionally, they provide the ability to create components that can…

What is MIME type?

What is a MIME type and what is it used for? Answer MIME is an acronym for Multi-purpose Internet Mail Extensions. It is used as a standard way of classifying file types over the Internet. Good to hear A MIME type actually has two parts: a type and a subtype that are separated by a slash (/). For…

Why wrapping source file in an immediately invoked function?

What is the reason for wrapping the entire contents of a JavaScript source file in a function that is immediately invoked? Answer This technique is very common in JavaScript libraries. It creates a closure around the entire contents of the file which creates a private namespace and thereby helps…

Page 2 Of 9