Systems | Development | Analytics | API | Testing

Building Ruby on Rails engines

Engines are one of the best ways to share functionality across Rails applications. Whether you're looking to extend your Rails application, modularize your project for better maintainability, or are just curious about the finer details, join us as we explore the intricacies of Rails engines. This article dives into everything you need to know about Rails engines, from their definition to their types, popular examples in the real world, and even building your own.

Exception Handling in JavaScript

In JavaScript, errors are only detected during runtime. Therefore, it is impossible to get compile-time errors when building JavaScript applications. There are several reasons an app might encounter a JavaScript exception: invalid input, server error, syntax errors, or errors in the application logic. In this article, we will dig into exception handling in JavaScript so that when your app encounters errors, it affects users as little as possible.

Practical strategies for Laravel performance optimization

Laravel is the most popular PHP framework for building web applications and is loved for its elegance, simplicity, and scalability. However, like any other framework for web development, Laravel can experience performance issues if it’s not optimized for high performance. Laravel performance problems aren't usually due to the framework itself, but rather some suboptimal choices in the application.

A guide to Laravel pipelines

When building web applications, it's handy to break down a feature's complex processes into smaller, more manageable pieces, whether by using separate functions or classes. Doing this helps to keep the code clean, maintainable, and testable. An approach you can take to split out these smaller steps in your Laravel application is to use Laravel pipelines. Pipelines allow you to send data through multiple layers of logic before returning a result.

The ultimate guide to Laravel caching

In the web development world, speed and performance are must-haves. Whether you're building a static website, software-as-a-service (SaaS), or bespoke web software, it's important that everything loads quickly to keep your users happy. One of the most common ways to optimize for speed in Laravel is caching. Caching refers to the practice of storing data inside a "cache" or high-speed storage layer.

How to Use Azure Blob Storage with Ruby on Rails

Azure Blob Storage is an object storage service that is very similar to AWS S3. ActiveStorage from Rails has built-in support for both ActiveStorage and S3 for file storage, making it easy to integrate and even swap out providers. The Honeybadger Blog has already explored using S3 for file storage in Rails, and in this article, we'll explore using Azure to allow users to upload files in a Rails application. You can find the final code here on Github.

Caching in Laravel with Redis: a complete guide

Laravel is a web application framework built with PHP. It’s a framework that uses providers and dependency injections for code organization. It follows a model-view-controller design pattern. Laravel reuses the existing components of different frameworks, which helps in creating a web application. Thus, the application is designed to be more structured and pragmatic.

Top ten Git tips & tricks

Git is one of the most widely used collaboration tools in Software development. Even software developers working without teams often use Git as a version control system. Most people interact with Git through the command line, but many code editors and IDEs have Git integrations with built-in tools to make your workflow easier. Though Git is widely used, many developers only have a surface-level appreciation of all that Git has to offer.

How does Git work?

If you're like me and have less than twenty years of software engineering experience, the thought of a world without Git doesn't seem possible. When I started to research for this post, I almost fell out of my chair when I read that Git was created in 2005. It doesn't seem that long ago... either that, or I'm simply getting old. When I started programming, I asked myself a question I sometimes still ask myself today - How does git work? I often find myself being scared of certain Git commands.