Systems | Development | Analytics | API | Testing

Latest Posts

Processes and Artisan commands in Laravel

The command-line interface (CLI) can be a powerful tool for developers. You can use it as part of your development workflow to add new features to your application and to perform tasks in a production environment. Laravel allows you to create "Artisan commands" to add bespoke functionality to your application. It also provides a Process facade that you can use to run OS (operating system) processes from your Laravel application to perform tasks such as running custom shell scripts.

Composite primary keys in Rails

Primary keys are vital in the design of a relational database. They are crucial in uniquely identifying records. For example, if you have a table of users, you will need to identify each record uniquely. This is where primary keys are used. Primary keys are usually single columns that auto-increment. There might be cases where you'll need a combination of column to serve as the primary key - this is where composite primary keys become helpful.

Deploy a Rails app to a VPS with Kamal

Ruby on Rails has always been at the forefront of developer productivity, and building robust, highly interactive web applications has never been easier. Rails has been accurately described as the one-person framework. However, building your app is only half the battle. The other half is publishing it for others to use. Unfortunately, being able to deploy your application has always been an afterthought for most developers.

Serialization and deserialization in Node.js

Serialization and deserialization are two fundamental processes that play a pivotal role in achieving this goal, especially within the context of Node.js. Serialization and deserialization are the unsung heroes behind the scenes, responsible for converting complex data structures into formats that can be easily stored, transmitted, and reconstructed when needed. In Node.js apps where data is at the core of application functionality, a solid understanding of these processes is crucial.

Securing Laravel forms using Cloudflare's Turnstile CAPTCHA

Security is an important aspect of any web application. It helps to ensure that your application is protected from malicious actors who may want to cause harm to your application or users, as well as bots trying to spam your forms with fake submissions. One common entry point, especially for automated scripts, is to submit data to publicly-accessible forms on your application.

How to build your own user authentication system in Rails

When building an app, you'll probably need to handle user authentication in one form or another. In Rails applications, several pre-built libraries and gems make it a breeze to build user authentication including well-known libraries like Devise, Doorkeeper and OmniAuth. These libraries work well out of the box, but there's a caveat, as developers must follow certain configuration and design rules for each library.

Managing PDFs in Node.js with pdf-lib

In today's digital age, Portable Document Format (PDF) files have become an integral part of how we share and manage documents. Regardless of whether it's contracts, reports, or presentations, PDFs provide a consistent and reliable way to present information across different platforms and devices. As developers, being able to manipulate and generate PDFs programmatically is a valuable skill. This is where the pdf-lib library for Node.js comes into play.

A comprehensive guide to handling dates and times in PHP

From accurately tracking the opening and closing of financial markets to preserving the history of posts and research papers by properly saving the times they were created, edited, and deleted, software engineers must understand how to handle dates and times in their applications. The concept of dates and times is especially important in programming. All programming languages enable developers to manage dates and times in their applications.

Learn encryption and decryption in Typescript

Learning encryption and decryption in TypeScript involves understanding cryptographic concepts and utilizing cryptographic libraries to perform secure encryption and decryption operations. In the digital age, data security has become paramount. Protecting sensitive information from unauthorized access has led to the widespread use of encryption and decryption techniques.

Declaring check-ins in PHP/Laravel config

If your cron job fails in a forest, and nobody is around, does it make a sound? Honeybadger's check-in monitoring for PHP/Laravel gives you peace of mind, knowing that if any job fails, whether it's your billing cron job, your nightly backup, or even that third-party service's new integration, it won't happen silently. Instead, we'll notify you instantly via the tools you already use (Slack, PagerDuty, etc.).