Honeybadger Developer Blog
844 FOLLOWERS
We're the application health monitoring tool built for you, the developer who cares about a quality product and happy customers. The modern error management app gives you more than an email and a backtrace. Read useful articles for web developers in Ruby, Javascript, Elixir, and more on our blog page.
Honeybadger Developer Blog
3d ago
Maintaining standards in an ever-growing codebase that multiple developers contribute to can be difficult and tedious. Ensuring that the codebase follows best practices and does not deviate from the standards is essential for any project. But this is typically something that can only be enforced manually by code reviews and other similar processes. As with any other manual task, this can be time-consuming, tedious, and error-prone. That's where architecture testing comes in.
Architecture testing allows you to automatically enforce code standards such as naming conventions, method usage, direct ..read more
Honeybadger Developer Blog
1w ago
The ability to record and see everything happening across your web applications is essential when building resilient and highly available systems. All of your events—from application logs to errors to user behavior—contain data that could be useful to you and your team. When you have a central place to access all this information, finding issues and their root causes becomes easier because you have the data at your fingertips. At Honeybadger, we're making that easier for everyone with our new observability platform, Honeybadger Insights. While you can send many things to Insights, logging is o ..read more
Honeybadger Developer Blog
2w ago
Oh, I didn't see you there. Hi, I'm Kevin, a developer here at Honeybadger. I've worked for the last year or so developing Honeybadger Insights, our new logging and observability platform. Let's peek into some of the design decisions and philosophy behind the product.
In modern software development, the hunt for observable systems has traditionally revolved around the holy trinity of logs, metrics, and traces. Each plays a critical role in understanding system behavior, yet they often exist in isolation, each providing a view through a different lens, not to mention a different UI.
At Honeybad ..read more
Honeybadger Developer Blog
3w ago
For many applications, access is usually through a single domain, such as yourapp.com. This way, the application developer is able to offer a unified experience to all users. This works great most of the time, but imagine a situation where you need to give each user a customized experience; how would you achieve this?
One of the ways you can customize the user experience in a single application is by using account-based subdomains. Instead of giving users a single entry point into your app, offer them customized subdomains: user1.exampleapp.com, user2.exampleapp.com, and so forth. With account ..read more
Honeybadger Developer Blog
1M ago
Everything you do when using computers is related to files and folders. The browser you're using to view this webpage is a file on your device, and this webpage is a file on this website's server, which means everything is a file one way or another. In this article, you will learn everything you need to know to build files and folder-related features in your PHP applications.
Prerequisites
To follow along with this article, you need to have a solid grasp of the basics of PHP. Knowledge of variables, functions, conditionals, etc., will come in handy.
However, every concept and code example cove ..read more
Honeybadger Developer Blog
1M ago
If you are into programming, you might have used commands like cp, mv, cat, etc, to perform different operations using a text interface like bash or Windows PowerShell. This article discusses implementing command-line applications in Python with functionalities such as keyword arguments, flags, positional arguments, and mode selection. It also discusses how to implement the Linux head command in Python.
What is a command-line application?
A command-line application is a computer program we use from a text interface like Bash, Windows PowerShell, Zsh, Dash, etc. We can execute a command line ap ..read more
Honeybadger Developer Blog
1M ago
Hanami is a relatively new full-stack Ruby web framework. Unlike Rails, which has many default assumptions about how an app should be built, Hanami promises developer freedom by not imposing too many such defaults.
The framework is also blazingly fast due to its low memory footprint and focus on minimalism. Combine that with a focus on strict abstractions, and you get a fully-featured Ruby framework that could rival Rails for building some applications, such as APIs and micro-services.
In this tutorial, we'll learn about the framework's structure and features as we go through the steps of buil ..read more
Honeybadger Developer Blog
2M ago
There are many ways to deploy a Ruby on Rails application to the internet. Between hosting on your own hardware, renting a virtual machine, using a cloud provider, and using a platform, the opportunities are endless. The low-hassle way to host a Rails application is to use a Platform as a Service (PaaS). In this article, we'll show you how to deploy a Rails Application to Render.com, and as a bonus, monitor it with Honeybadger! You can find the final project here on Github.
Going a step further than cloud hosting and using a platform to deploy your web apps provides incredible convenience at a ..read more
Honeybadger Developer Blog
2M ago
During my recent deep dive into new technologies, I found the classic issues of integrating numerous tech tools effectively. I've written about my experiences to save you the trouble I had.
One essential component I've looked into is using Docker to implement containerization. While the initial setup takes a little longer, it significantly simplifies and optimizes your technological stack.
Prerequisites
To follow along with this tutorial, make sure you have the following:
Docker
Docker Compose
Django
Node.js
npm
We'll start a Django application and then a Preact application, containerize the ..read more
Honeybadger Developer Blog
2M ago
In recent years, the serverless paradigm has become known as a transformative approach to application development, allowing us to focus more on writing code and less on managing infrastructure. Laravel Vapor, a serverless deployment platform for Laravel applications, brings the power of the Laravel framework into the world of serverless architecture. By integrating Laravel with AWS Lambda and other AWS services, Vapor offers a simple way to build, deploy, and scale applications without the complexities of traditional server management. In this comprehensive guide, we will discuss serverless ar ..read more