Writing · 82 articles
Thoughts put into lines, every article leaves a trace.
Process notes, technical write-ups and design tips on PHP, MariaDB, security, accessibility, design systems and web performance.
The articles are written in Turkish. Each one below has an English title and summary; the original Turkish title is shown underneath.
-
Status colours: colour alone is not enoughReinforcing the meaning of success, warning and error messages with icons and text, so it is not lost for colour-blind or screen reader users. Durum renkleri: renk tek başına yetmez
-
Light and dark themes with CSS variablesCollecting colours in variables so components are written once and the theme follows the system preference from a single place. CSS değişkenleriyle açık/koyu tema
-
Dark navy instead of pure black in dark themesPure black with white text creates a harsh contrast that tires the eyes; dark tones give depth and comfort. Koyu temada saf siyah yerine koyu lacivert
-
Contrast ratio: where does 4.5:1 come from?The WCAG contrast thresholds, the exception for large text and a quick way to check them. Kontrast oranı: 4.5:1 nereden gelir?
-
Colour theory — hue, saturation and harmony in light and dark themesBuilding a palette as a system rather than individual values: role variables, contrast calculation, dark theme principles and status colours. Renk Teorisi — Ton, Doygunluk ve Açık/Koyu Temada Uyum
-
Never store passwords in plain text: password_hash and password_verifySafe password storage and rehashing with PHP's built-in functions; fast hashes such as MD5 or SHA-1 are not enough. Parolayı asla düz saklama: password_hash ve password_verify
-
Escaping output with a single htmlspecialchars helperMost XSS comes from one forgotten escape; using the same helper for every output makes the safe way the easy way. Çıktıyı kaçışlamak: htmlspecialchars'ı tek yardımcıya bağlamak
-
Simple per-IP rate limitingProtecting a form from abuse by counting the attempts from the same IP in the last few minutes. IP başına basit oran sınırı
-
Honeypot fields: an invisible trap for botsA simple spam filter: a field humans never see but bots fill in. Honeypot alanı: botlara görünmez tuzak
-
Security layers — CSRF, rate limiting, sessions and inputOverlapping layers instead of a single safeguard in a small PHP application: validation, escaping, CSRF, sessions, rate limiting and security headers. Güvenlik Katmanları — CSRF, Oran Sınırı, Oturum ve Girdi
-
CSRF tokens: one check for forms and headersComparing the session token with either a form field or a request header in one function, and why hash_equals is required. CSRF token'ı: formda ve başlıkta tek doğrulama
-
Touch targets of at least 44 pixelsMaking small links and icons comfortable for fingers by enlarging their touch area without changing how they look. Dokunma hedefi en az 44 piksel