A 15-line middleware and one database column: roles without the ceremony
Every SaaS needs roles. The tutorial answer is a roles table, a permissions table, two pivot tables, a seeder for each, and a policy class before you'
Curated development tutorials from top sources. Filter by language.
Every SaaS needs roles. The tutorial answer is a roles table, a permissions table, two pivot tables, a seeder for each, and a policy class before you'
📌 Originally published on 4wp.dev → MVC Pattern in WordPress. Long read on LinkedIn: MVC in WordPress: the pattern everyone learns, few truly apply.
I'm a solo developer in Geneva and I just built Supercalcula API, a small platform of utility APIs sold by usage: QR codes and barcodes, email verific
Few things separate a hobbyist Soroban project from a production-grade contract as clearly as its test suite. Over the past two decades working with d
TL;DR Our Rails app's p95 response time had crept from 280 ms to 1.4 s over a year, and nobody could say why. I paired with Claude Code for
Learn how to extract tables from a PDF in Python with Docling and LlamaParse, and compare local parsing against a cloud API on speed and cost.
An .eml file is a saved email. Open one and you get raw MIME: headers, a plain-text part, an HTML part, maybe some base64 attachments. The HTML part i
A few months ago, I published You're a Real JavaScript Developer Only If... It was supposed to be a little post for fun. You know, just a few things
I run a visa agency in Bali. The other half of my week goes into Apify Actors, and one of them is an odds feed: pick leagues and dates, get one row pe
One of the most upvoted posts on Hacker News this weekend was an essay titled "Passkeys are a trap. Do not use them." Its argument is not that passkey
I'm in the UK, and mini electric bike pumps are what I spend my time on. A pressure number on the box is not a count of tyres. These notes are the ord
🔥 30 Days of Frontend — Day 4: Memoization in React
Hey everyone, I'm back. This was my last post: https://dev.to/silver_oof_/starting-a-cs-project-week-0-5cfh. As promised, we're now going to finish t
A compound-interest formula can give you a final number quickly, but it can also hide whether deposits happen monthly, annually, or not at all. I buil
Nothing checks the SQL in most codebases before it runs. The compiler sees a string, the tests cover the queries someone thought to test, and the rest
Add a markdown editor to a Blade form the usual way and it looks fine, until the form silently refuses to submit: {{ old('content') }} //
If you search for architectural patterns in modern Python, you will inevitably encounter the Repository pattern. On one side, advocates argue that r
Invisible reCAPTCHA v2 is the version with no "I'm not a robot" box. The page shows only the small "protected by reCAPTCHA" badge, and the check runs
I've been building a set of small developer tools at everydaytoolz.com. They do one job each, and nothing you paste is sent to a server. UUID Generat
I keep meeting the same tempting shortcut, and I still do not trust it on sight. A coding model drafts a small patch, and a hosted machine is offered