Antonin

Antoín Pleskač

Programmer exploring Vue, Rails, and PostgreSQL development, along with insights into 3D printing....

  • Vue 2: Understanding Provide & Inject for Better State Management

    Vue 2: Understanding Provide & Inject for Better State Management

    Feb 13, 2025

    Introduction Vue.js is known for its simplicity and flexibility, and one of the lesser-known but incredibly useful features in Vue 2 is the provide and inject API. This feature simplifies state management and allows components to share data without the need for Vuex or prop-drilling. If you've ever…

  • Extending Element UI Components in Vue 2 with Vue.extend

    Extending Element UI Components in Vue 2 with Vue.extend

    Feb 13, 2025

    Introduction Element UI is a powerful and well-designed UI framework for Vue.js. It provides a rich set of components that cover most common UI needs. However, there are scenarios where default functionalities do not fit all requirements. Instead of rewriting components from scratch, we can extend…

  • Exploring rails console --sandbox: Benefits and Usage

    Exploring rails console --sandbox: Benefits and Usage

    Feb 13, 2025

    Introduction When working with Ruby on Rails, developers often need to test queries, modify data, or debug application logic. The rails console provides a powerful interactive environment to experiment with your application’s data and logic. However, making changes in a live development database…

  • Automating Custom Domains for Heroku Review Apps with Heracudo

    Feb 13, 2025

    Introduction Deploying applications with Heroku Review Apps is a powerful way to test new features in an isolated environment. However, managing custom domains dynamically for each review application can be tedious. This is where Heracudo comes in—an npm package that automates domain creation in…

  • Setting Up Development Domains with Laravel Valet

    Setting Up Development Domains with Laravel Valet

    Feb 13, 2025

    Introduction Setting up a local development environment is crucial for efficient web development. Laravel Valet provides a lightweight and flexible solution for managing local development domains on macOS. This guide walks you through installing Valet, setting up development domains, and…

  • Logging Heroku Drain Logs to Google Logs Explorer

    Logging Heroku Drain Logs to Google Logs Explorer

    Feb 13, 2025

    Introduction Managing logs efficiently is crucial for understanding the behavior of your application, diagnosing issues, and ensuring smooth operations. After evaluating different solutions based on pricing and feature set, we determined that sending logs to Google Logs Explorer via a custom…

  • Partitioning Tables in PostgreSQL with pg_partman

    Partitioning Tables in PostgreSQL with pg_partman

    Feb 13, 2025

    Partitioning large tables in PostgreSQL can significantly improve query performance and manageability by dividing data into smaller, more manageable chunks. This post will guide you through setting up partitioning using the pg_partman extension. Why Partitioning? Partitioning is useful when dealing…

  • Migrating Heroku PostgreSQL to Google Cloud SQL: A Step-by-Step Guide

    Migrating Heroku PostgreSQL to Google Cloud SQL: A Step-by-Step Guide

    Feb 13, 2025

    Migrating a database from Heroku PostgreSQL to Google Cloud SQL can seem daunting, but with the right steps, it can be done efficiently. This guide will walk you through the entire process, from setting up your Google Cloud environment to restoring your database on Cloud SQL. Step 1: Create a New…

  • Organizing Your Git Branches: Moving Existing Branches to a Folder Structure

    Feb 12, 2025

    As development progresses, managing numerous Git branches can quickly become messy. Without proper organization, finding and working with branches can become cumbersome, especially in projects with long-running feature developments or multiple contributors. One effective strategy is to structure…

  • Connecting a Rails Application to a Read Replica

    Connecting a Rails Application to a Read Replica

    Feb 12, 2025

    Introduction When working with high-traffic Rails applications, splitting read and write operations between a primary database and read replicas can improve performance and scalability. In our case, we had an ApplicationRecord model that initially used only the primary database and a logging…

  • Updating Partitioned Tables in PostgreSQL

    Feb 12, 2025

    Introduction When working with large volumes of data in PostgreSQL, we often encounter the need for table partitioning. This approach allows for more efficient data management and querying of extensive datasets. In this article, I will focus on updating partitioned tables using dynamic SQL commands…