Posted on 4 Comments

Docker Volumes: A Comprehensive Introduction

Docker volume

Docker volumes are very useful when we need to persist data in Docker containers or share data between containers. Docker volumes are important because when a Docker container is destroyed, it’s entire file system is destroyed too. So if we want to keep this data, it is necessary that we use Docker volumes. Docker volumes are attached to containers during a docker run command by using the -v flag When Docker Volumes are needed Let’s…

Read more

Posted on 4 Comments
Posted on 2 Comments

Moving a WordPress site into a Docker Container

docker-wordpress

WordPress is a very popular and flexible Content Management System (CMS). If you build websites, you are likely to have worked with (or had someone ask you to) WordPress. There are several tutorials about how to set up a new WordPress site with docker. Here is a very good one. However, no one really says how to move an existing WordPress site into a docker container. I have several servers on Digital Ocean, Linode and Vultr,…

Read more

Posted on 2 Comments
Posted on Leave a comment

npm vs Yarn 2018 Comparison

  Developers are usually caught in a dilemma when choosing between package managers to use in building and managing project dependencies. Two popular package managers in the ecosystem are NPM (Node package manager) and Yarn (package manager created by Facebook). We’ll be looking at these package managers side by side considering the following features: Performance Security Support Ease of use At the end of this article, you’ll be able to decide which package manager to…

Read more

Posted on Leave a comment
Posted on Leave a comment

How to build a telegram bot using Node.js and Now

Serverless deployment, the intriguing topic grabbing a lot of attention from rookies and veterans alike in the tech ecosystem is finally here. In this article we’ll be taking a practical approach to serverless deployment, also referred to as FaaS (Function as a Service). Serverless architecture, simply put is a way to build and run applications and services without managing server in infrastructure. Practical approach? We’ll be building a telegram weather bot using node.js, which will…

Read more

Posted on Leave a comment
Posted on Leave a comment

Building Scalable Web Services in Golang

gophers learning

  One of the very intrinsic aspects of the language is its insistence on doing things the “right” way. From the way golang projects are structured to the strictness in linting and documentation, every single aspect of Golang, done right, is delightfully intuitive and ergonomic. Source: Building Scalable Web Services in Golang – Myntra Engineering – Medium The above post has some very good points about building web services in Go. Here is one of mine. Configuration…

Read more

Posted on Leave a comment
Posted on Leave a comment

Understanding Docker Containers

Docker container

In a previous article, we talked about Docker images but we could only use a small section to talk about Docker containers. Now, let’s go deeper. Docker Containers A Docker container is created from a Docker image. If a Docker image is a recipe, think of the Docker container as the dish that is prepared A container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run…

Read more

Posted on Leave a comment
Posted on Leave a comment

How to build a multi tenant site with Laravel ― Scotch

laravel multi-tenant site

Laravel is a wonderful framework, however the default settings make it difficult to use for more than one domain at the same time. A multi tenant site is one that uses the same codebase to serve data to multiple clients. A very popular example of this is slack. A multi tenant site will usually require that each tenant accesses the site from a unique url, and this causes problems because laravel by default, does not…

Read more

Posted on Leave a comment
Posted on Leave a comment

How to create an autocomplete input with plain Javascript

Now, most people who have built websites have included forms. Regular text elements, number, select (dropdown), checkboxes and radio buttons. The problem A situation I’ve often encountered is where we need the user to choose from a very long list of options. The easiest thing to do is to put all the options into a select element. However, this is impractical because… It can make for a very terrible user experience If all the options…

Read more

Posted on Leave a comment
Posted on 1 Comment

Using Laravel Mix with Webpack for All Your Assets

Laravel Mix provides a fluent API for defining Webpack build steps for your application using several common CSS and JavaScript pre-processors. The lovely creators of Laravel Mix, put in the common webpack configurations and you can add more custom configurations if you wish. This is especially wonderful for people that want to use webpack, but feel like configuring webpack is too difficult. Or maybe they wanted to use ES2016 but saw some complicated article about…

Read more

Posted on 1 Comment