Blog

Subscribe to my future posts

Overcoming irregular delivery

What are the main problems, and root causes of non-regular delivery, and how do start delivering consistently as a software engineer? You can find answers in this article.

Why seniors often reject proposals from less experienced colleagues

Here's my take on why seasoned developers often turn down suggestions from less experienced colleagues, along with some guidance on how to navigate this situation.

Static website creation on Jekyll with ease

Exploring my transition from Medium to a personal Jekyll-powered blog. Take a look if you want to effortlessly create a static website. You will find all the basics to get familiar with this tool.

Rack in questions and answers

Rack is a crucial piece in building web applications with Ruby. This article explains what Rack is, how to use it in a Ruby application to handle HTTP requests, how to use the built-in middlewares, how to create custom ones, and how to interact with Rack middlewares in the application.

Stimulus.js as a great minimalistic framework

Sometimes, using advanced js frameworks or libraries like React is too much. But what if writing on pure javascript feels complex and not reusable? I explain how stimulus.js may help to get things done quickly and efficiently without overhead, which usually comes with more advanced frameworks.

Beautify Ruby code with #then

Sometimes you can improve code readability simply by applying #then method. This article describes what this method does and when it makes sense to use it.

Caching in Elixir with Cachex

Caching is a great technique when it comes to speeding up an application. Check the example of usage Cachex in the Phoenix app.

Building real-time search with Phoenix LiveView

Phoenix LiveView provides real-time user experience with server-rendered HTML, which helps to build modern interactive applications. Check how to implement real-time search using this technology in a very elegant and simple form.

Thoughts about Phoenix and Repository pattern

Phoenix framework allows more flexibility for the code structure. By default, business logic is grouped in contexts. I decided to go further, and in this article, you can find my proposal on how you may structure the code by applying the design pattern called Repository.

How to use Ecto’s fragment for building complex queries

The example of using fragments for data aggregation from the database.

How to build breadcrumbs for your Phoenix app

In this article, you can find how to build a useful navigation tool called breadcrumbs on your own. It's not so hard, check it out!

Elixir and Behaviours by Ecto example

What if some modules share the same API and want to define functions and make sure, that they are implemented in each module? Behaviour is the answer in the world of Elixir. I show how behaviours are used in one of the most popular libraries called Ecto.

Understanding Elixir’s Macros by Phoenix example

Macro is a great metaprogramming tool. In certain situations, it may improve your code when is used carefully and mindfully. In this article, I described what is it and how it's used in the Phoenix framework.

Subscribe to my future posts