Our team at MoonGuard is working on developing tools to expand the MoonGuard ecosystem. One of these tools is Krater, a desktop application for debugging websites in local development. We chose Tauri as the framework to develop Krater because it is based on Rust. Since we needed a way to connect with websites and extract data, we researched the best ways to do this and discovered Actix Web.
Managing State in Desktop Applications with Rust and Tauri
Currently, we are getting to know Tauri and Rust for Krater development. A few days ago, I found in Tauri's documentation that its applications have a State Manager that allows sharing any type of state globally within the application. In this article, we will review in detail how to take advantage of this when building applications with Tauri! 馃殌
Create a Simple Settings Page with Filament
Recently, I had to create a simple settings page to manage general settings for a website with Filament. Filament is a Laravel-based admin panel that provides an intuitive interface for managing your application's data.
In this blog post, I'll walk you through the steps I took to create the settings page, including how to use migrations to store the data, how to update the settings from the Filament admin panel, and how to dynamically build the edit form depending on the setting type.
Custom Collections in Laravel
Collections in Laravel allow us to represent a set of objects and manipulate them in multiple ways. We could say that they are like an array with batteries, which makes them really useful when working with Laravel, but have you ever wonder how to make your own collection?
Basic Eloquent Relationships
One of the most challenging parts of web development I've experienced is the relationship between tables in relational databases; it always leaves me perplexed. Fortunately, in Laravel, there is a fantastic resource called Eloquent which has been a lifesaver for me.
Using a local php package in your projects
When I first started learning how to create packages in PHP, I often wondered how
I could test my packages locally, or even how I could install an open-source
package to examine it and potentially contribute to it. In the past, every time
I used a PHP package, I used the composer require
command. But now, I will
show you how to install your packages locally and test them.
The Next Level of Website Monitoring: MoonGuard
Have you noticed how tedious it is to monitor multiple websites? It's a tedious task because you always have to use different external services to check the uptime, detect system problems, server capacity, etc. And as the number of sites grows, these services become more expensive.
But what if you could do all that in one place and with just one software? That's exactly what we've created with MoonGuard! It's a Filament plugin that allows you to monitor all your sites from one location, in the Filament admin panel.