Systems | Development | Analytics | API | Testing

September 2021

Ruby Flip Flop: What It Is and When to Use It

Apart from being a synonym to a sandal, a ruby flip-flop refers to a system that comprises two alternating (on/off) states that one can switch between. This can be pretty helpful when you want to loop through arrays and capture contiguous subsets that lie between specific bounds (you’ll understand more of what I mean as you read along). However, not many programming languages have leveraged a mechanism like this.

How to Use Ruby BEGIN and END Blocks

There are two types of Ruby Begin and End blocks. A simple Google search of “Ruby begin end blocks” will lead you to either of these two kinds of articles – the ones in all caps (BEGIN and END) and the ones usually separated by a slash (begin/end). Both of these are different things but confused with the same name. In this post, we will dive into both. Here’s an outline of what we’ll be covering so you can easily navigate or skip ahead in the guide –

PHP Handlers: Why They Matter and How to Choose the Best One

In obsessing over the best frameworks and coding practices for their PHP applications, developers often fail to look beyond their code for optimization and boosting performance. They often fail to realize the crucial role of the server setup, the PHP handlers, and the system environment in your application failing or succeeding out there. Apache server and web hosting manager (WHM) configurations can seem obscure at first, and it’s challenging to keep track of every config option.

Node.js Module Exports Explained

As Donald Knuth very wisely put it, computer programming is an art. And an integral aspect of writing clean code and staying true to this art is modularity. This post will cover the use of modules in Node.js — what they are, why they are essential, and how to export and import them in your project. Here’s an outline of what we’ll be covering so you can easily navigate or skip ahead in the post.