Treasure Jayasinghe - Laravel Developer Profile Photo

Treasure Jayasinghe

With whyitworks.dev, I follow my curiosity exploring ideas, uncovering how things work, and sharing what I learn along the way.


🚀 Building scalable web applications with Laravel & Modern JavaScript
📚 Sharing knowledge through articles and tutorials
đź’ˇ Passionate about clean code and system architecture

Engineer at @Temper B.V 🇳🇱
Sri Lanka 🇱🇰

Latest Articles

Explore technical articles and tutorials on Laravel, PHP, and web development best practices.

Emojis at notions are not emojis.... Well sort of 

Engineering Notion Scaling

Notion’s custom emoji feature looks small, but it forced real engineering decisions: how to represent emojis cleanly inside a rich-text editor, keep the emoji picker fast under heavy libraries, and choose a loading strategy that feels instant without blowing up startup performance. The key idea is treating custom emojis like “mentions” (stable references by ID), then using practical performance tactics like virtualization and “preload now, scale later” guardrails (like a workspace cap) to ship fast and evolve later.

205 views 2 likes
Jan 3, 2026

Context Engineering for AI-Powered Coding: Rules, Guides & TDD For Laravel Development

Context engineering AI coding with Laravel Test driven development AI Bug-free AI coding

This article explains how to use context engineering to get the most out of LLMs like Claude for coding, especially in PHP/Laravel projects. Instead of repeating instructions in every prompt, developers can define rules and guides like enforcing PSR-12, writing tests first (TDD)

379 views 0 likes
Oct 1, 2025

Are You an Overconfident Newbie Engineer or a Quiet Expert?

Psychology Team Work

Ever met an engineer who thinks they know it all but leaves a trail of broken code behind? That’s the Dunning-Kruger effect in action. In this post, I break down how it shows up in tech teams, why it’s so frustrating to deal with, and the simple strategies I use to turn overconfidence into learning and growth.

440 views 4 likes
Aug 16, 2025