Systems | Development | Analytics | API | Testing

Manage a Next.js Monorepo with Prisma

Prisma is a modern open-source database toolkit designed to simplify data workflows for developers. It provides a powerful and intuitive way to interact with databases, and it is type-safe. Prisma works well in a monorepo because it can be used in both the frontend and backend of a full-stack application. This enables developers to share types and logic across the entire codebase, resulting in a more efficient development process.

Completing, Integrating, and Publishing Our Game with DragonRuby

In part one of this series, we started developing a simple Flappy Bird clone game using the DragonRuby game development toolkit. We didn't come very far, though — we stopped after integrating player input to keep our plane afloat. In this second and concluding part, we'll implement the remaining simple game mechanics. We'll also take a brief look at interfacing with an HTTP server and publishing our game on itch.io.

Build an Elixir App with Cowboy

Cowboy is a small, fast, and modern HTTP server for Erlang/OTP. It particularly shines when handling multiple concurrent connections with minimal overhead. This makes it a perfect choice for building lightweight, real-time streaming services. In this article, we’ll build a tiny real-time text pub/sub server using Cowboy. Our service supports HTTP-based publishing, allowing clients to subscribe using either WebSockets or Server-Sent Events (SSE).

Diving Into Reactive Programming in Node.js

Boosting the scalability of your backend applications often means rethinking how you manage asynchronous data. That’s where reactive programming comes into play: a paradigm that treats data streams as first-class citizens, allowing your code to respond to data changes as they occur. While Node.js wasn’t built with reactive programming in mind, libraries like RxJS and Bacon.js support that approach.

An Introduction to Game Development with DragonRuby

The DragonRuby Game Toolkit is a powerful, cross-platform 2D game engine that allows you to create fun game titles while staying in your favorite developer-friendly language. What's not to love? In this post, we are going to cover the basics of game development with DragonRuby. We will use a "Flappy Bird" clone to explain the fundamental concepts. But before we get started, let's address two initial concerns you might have about DragonRuby right off the bat.

Ways to Improve Node.js Loader Performance

Imagine your Node.js app is like a super-fast sports car. The "loader" is its transmission — that crucial part that gets the engine's power to the wheels, making everything run smoothly. If that transmission starts acting up, your speedy app will just sputter and stop. So, it's simple: a good loader means your app flies, a bad one means it's stuck in neutral. In this post, we'll explore how to improve your Node.js app's performance with its loader. But first, what exactly is this loader thing?

Render a Component Preview In Showcase for Ruby on Rails

In part one of this series, we walked through how to use Showcase in a Rails app. It's now time to read some Ruby code written by experienced Rails developers. To do this without getting lost, we'll choose one feature of the showcase engine and analyze how it works: rendering a preview of a component. Let's get started!

Batch Updates and Advanced Inserts in Ecto for Elixir

When you build Elixir applications, you'll likely encounter scenarios where you need to handle large datasets efficiently. Whether you're importing user data from a CSV file, updating thousands of product prices, or synchronizing data from external APIs, performing operations one record at a time can quickly become a performance bottleneck. In this two-part tutorial, we'll start by exploring Ecto's powerful batch update and advanced insert capabilities for handling bulk data operations.

How to Read Code from the Showcase Ruby on Rails Engine

Reading a lot of code from very senior engineers is probably one of the best ways to level up as a Ruby on Rails developer. By doing so, we can learn new tips and techniques that we can reuse in our jobs. Thanks to open source, we can read code written by the best developers from all over the world, and for free! However, reading code from a Ruby gem or a Rails engine for the first time without being guided can be daunting. There are so many files; how do we even know where to start?