Kubernetes is a popular and powerful container-orchestration system. Deploying applications to it, however, can be quite complex. That’s because a single application setup could entail generating several interdependent Kubernetes resources. Those can include deployments, pods, services, and replica sets. Each of these requires a YAML manifest file to be written. To ease the process of packaging, configuring, and deploying applications …
A Tutorial on Working with JSON in JavaScript
Introduction There are many ways that JSON can be used in JavaScript. One of its most basic uses is storing data. You can also use it to transfer data between clients, between servers, or from server to client. Other useful applications include the ability to configure and verify data as well as generate data structures. In this tutorial, we will …
Programming with Python 3: How To Go About Constructing Classes and Defining Objects?
Introduction We all know about Python as a programming language. To be more specific, Python is an object-oriented programming language. In object-oriented programming, or OOP, the goal is to make reusable code patterns. This is different from procedural programming where we give a sequence of instructions. Object-oriented code is especially useful when you are working on complex programs. When you …
Installing and Using Composer on Ubuntu 18.04
Composer is a popular PHP dependency management tool. It is primarily leveraged to assist in project dependency updates and installation. It works by checking and verifying the versions of other packages that are appropriate for project requirements and dependencies and installing them for your convenience. In this tutorial, we will walk you through the steps of installing Composer on Ubuntu …
JavaScript: a Tutorial on How to Index, Split, and Manipulate Strings
Introduction If you want to work in JavaScript, you need to be familiar with strings. A string is a sequence of characters that can be letters, numbers, or symbols. In terms of quantity, it can be one or more than one character. Each character in a string is associated with a number. This is the index number that you can …
An Overview of the JSON Data Sharing Format
JavaScript Object Notation (JSON for short and pronounced much like the name ‘Jason’), is a type of data sharing format. As evidenced by its name, JSON stems from JavaScript, but it is not the sole code proprietor that permits its utilization. In fact, many other programming languages have it available for their use including Ruby, PHP, Python, and Java. When …
What is Docker? An Overview of the Docker Ecosystem
Introduction If you dabble in the world of programming, then you may be familiar with the term ‘containerization’. If not, containerization is a process that helps make applications more manageable. It works by allowing the programmer to distribute applications in organic, portable packages. Each package is lightweight and isolated, complete with its own environment. These individual packages are known as …
Working with JavaScript: How Classes Operate
Introduction Every object in JavaScript, a prototype-based language, contains an internal property named the [[Prototype]]. Its utility extends to the manipulation of object properties and methods. Mimicking the object-oriented design pattern of JavaScript, most developers utilize construction functions. One of these functions is the concept of classes, introduced to JavaScript via the ECMAScript 2015 language specification. JavaScript’s classes provide a …
The Best Ways to Use Google’s SMTP Server
While many of us enjoy Google’s services in one form or another, very few seem to leverage the portable SMTP server feature that comes with Gmail and Google Apps email. The Google SMTP server is reliable and free of charge. Instead of managing a personal SMTP server on your CloudSigma workload, Google’s SMTP server can be set with almost any …
Working with JavaScript: How Prototypes and Inheritances Operate
Introduction JavaScript is one of the most popular programming languages. If you know anything about computer programming, you have probably heard of JavaScript. If you dig into a little more detail, you will discover that JavaScript is a prototype-based language. This means that you can use general objects to share object properties and methods. You can clone or even extend …
How to Crawl a Web Page with Scrapy and Python 3
Web scraping, web crawling, web harvesting, or web data extraction are synonyms referring to the act of mining data from web pages across the Internet. Web scrapers or web crawlers are tools that go over web pages programmatically extracting the required data. These data, which is usually large sets of text can be used for analytical purposes, to understand products, …
Installing the Apache Web Server on CentOS 7
A web server stores, processes and delivers web pages to website visitors. There are quite a few Open Source web server software options, but the Apache HTTP server is deemed as the most widely used web server in the world. This is because, apart from being open-source, its modular architecture allows extending its capabilities through adding modules to serve different …