Back-end Engineering Articles

I write and talk about backend stuff like Ruby, Ruby On Rails, Databases, Testing, Architecture / Infrastructure / System Design, Cloud, DevOps, Backgroud Jobs, some JS stuff and more...

Github:
/danielmoralesp
Twitter:
@danielmpbp

2025-03-25

Introduction to SQL - Basic Queries

So far so good, we have been learning the basics of databases and SQL. Now we want to enter one of the most important topics in SQL: the queries. A query is really a question or request for data. For example, ''Tell me how many products there are ...

Read Here






2025-03-18

Introduction to SQL - Constraints

Now that we have a gentle introduction to databases and SQL, it’s time to start with Constraints and Queries.  Constraints SQL constraints are used to specify rules for the data in a table. Constraints are used to limit the type of data that can...

Read Here






2025-03-11

Introduction to SQL - Designing, Creating, Inserting and Displaying Data

Now that we know, from a high level point of view, about how databases works it’s time to start experimenting with the Database Management System (DBMS) choosed, in our case: PostgreSQL. However, so many times people tend to go over it without giv...

Read Here






2025-03-04

Introduction to Databases

So far we’ve been studying the details of Ruby and Oriented-object programming. All of this with the idea of starting working with Rails. We are one step closer to that. But before we start studying Rails we have to understand a little bit about D...

Read Here






2025-02-25

Understanding The Communication Between Clients and Servers

Now that we know the basics about Ruby, Object-oriented programming, Text Editors, Git, Github, Consoles, AWS instances and much more, it’s time to explain how to connect all of these concepts. Probably this is one of the worst explained things in...

Read Here






2025-02-18

Modules and Mixins in Ruby OOP

To start this post, let’s imagine we started having a lot of different classes in our program. Is quite possible that we end up with equal class names. For instance, you decide to name a class as “Figure”. Months later, you’ll start to forget the ...

Read Here






2025-02-11

Inheritance in Ruby Objects

Let’s continue our advance in Ruby OOP, this time we’ll be talking about inheritance. Ruby inheritance is a way to reuse code in Oriented-object programming (OOP). Using inheritance, a Class can use the methods from other Class or Classes.  The e...

Read Here






2025-02-04

Everything in Ruby is an Object

Now we have enough knowledge to continue our talkings about Ruby classes and objects. We have been studying OOP in detail and doing challenges. Let’s talk about other topics related with OOP in Ruby Everything is an object in Ruby As we already k...

Read Here






2025-01-28

Ruby OOP Challenges

So far we have enough theoretical knowledge to understand Classes and Objects in Ruby. If you have been following previous blog post, here we have the order to study this subject - Introduction to Object-Oriented Programming in Ruby- Methods and ...

Read Here






2025-01-21

Ruby Getters and Setters in Object-oriented Programming

At the end of the last blog post called: Methods and Attributes in Object-oriented programming in Ruby we study about attributes. Let’s recap Attributes (object information) Just as an object has behavior (methods), objects can also have informa...

Read Here






2025-01-14

Methods and Attributes in Object-oriented programming in Ruby

In the last blog post we introduced the concept of Object-oriented programming in Ruby, we talked about the different programming paradigms and we created our first Class and Objects. Just to recap a bit about the code we wrote in that blog post, ...

Read Here






2025-01-07

Introduction to Object-Oriented Programming in Ruby

After all the content we’ve created so far, it’s time to introduce you to a concept which, at the same time, is the main paradigm of Ruby and other modern programming languages: object-oriented programming. But as always, we have to have a good c...

Read Here






2024-12-31

How does Ruby File Management Works?

Sometimes we'll need to deal with file management with Ruby. For instance, you receive a .txt file from your Project Manager (PM) and you have to read what’s inside. Other times you have to write something there. Cases like this can happen with di...

Read Here






2024-12-24

Ruby Data Structures Challenge #2 - For Beginners

Now you have an idea about how to solve the coding challenges (or at least) how they are structured, read and solved. Probably you noticed that it is easy to follow through the steps if you stick to the framework to solve coding challenges. So let...

Read Here






2024-12-17

Ruby Data Structures Challenge #1 - For Beginners

Now we have a lot of knowledge to put into practice. Even in the last blog post we talked about how to solve coding challenges. That post followed by the large amount of previous ones, you have the basis to solve current and next coding challenges...

Read Here






2024-12-10

Framework to Solve Coding Challenges with Ruby

Now we have a lot of knowledge to put into practice, so far we’ve seen these articles:about Ruby and Data Structures.  Articles about Ruby - What's Ruby (Programming Language)?- Ruby Data Types: Strings, Numbers and Booleans- Variables and User I...

Read Here






2024-12-03

Introduction to Logarithms in Data Structures

In the last blog post about Big O Notation we talked about three basic notations like O(1) - Constant Time, O(n) Linear Time and O(n**2) Quadratic Time, to describe the time and space complexity of a given algorithm.  However, at the end of the a...

Read Here






2024-11-26

Introduction to Big O Notation

Now it’s time to touch this important topic in computer science. But to understand these concepts you’ve to know about Time and Space Complexity and the basics about memory. Once you have that knowledge we’re ready to start Big O NotationIs a mat...

Read Here






2024-11-19

Relationship Between Memory and Data Structures

So far we've been talking about the introduction to data structures and now we’ll be talking about memory.  But we’ve to answer these questions first: why is memory so important at this point? Isn’t it related to hardware? When we’re programming ...

Read Here






2024-11-12

Introduction to Ruby Data Structures and Complexity Analysis

Introduction to Ruby Data Structures and Complexity Analysis Now we’re going to enter in a field of computer science that will help you understand even better the things we’ve been learning in the past blog posts: Data Structures and Complexity A...

Read Here