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.
-
PUT or PATCH? What an update meansThe contract difference between replacing the whole resource and changing only the fields that were sent. PUT mu, PATCH mı? Güncellemenin anlamı
-
Accept only JSON: Content-Type and 415Rejecting bodies of other types at the door of an endpoint that expects JSON. Yalnız JSON kabul et: Content-Type ve 415
-
Handling repeated POSTs with an Idempotency-KeyMaking sure a request resent after a network error does not create a second order, payment or record. Idempotency-Key ile tekrarlanan POST'u karşılamak
-
400 or 422? Choosing the right error codeA malformed request, content that breaks the rules and a request that conflicts with the current state: three different errors, three different status codes. 400 mü, 422 mi? Hata kodunu doğru seçmek
-
API contracts — versioning, error schemas and idempotent operationsWriting down the promise between an API's author and its users: predictable URLs, room to change, one error format and operations that are safe to repeat. API Sözleşmesi — Versiyonlama, Hata Şeması ve İdempotent İşlemler
-
Atomic deployment: no half-written filesPreparing the new release next to the old one and switching in a single step. Atomik dağıtım: yarım dosya bırakmamak
-
Running configtest before reloading ApacheThe habit that keeps one typo in the configuration from taking down every site on the server. Apache'de reload öncesi configtest
-
Checking syntax with php -l before deployingA one-command check that keeps a missing bracket from turning the site into a blank page. php -l ile dağıtımdan önce sözdizimi kontrolü
-
Seed data: realistic but fakeReproducible test and development data without real people's personal information. Seed verisi: gerçekçi ama sahte
-
Deployment and testing — migrations, seeds, CI and measurable goalsMaking releases boringly safe: reversible schema changes, reproducible data, automatic checks and atomic deployment. Dağıtım ve Test — Migration, Seed, CI ve Ölçülebilir Hedefler
-
Migration files: reversible changesVersioning schema changes like code and writing the way back from the start. Migration dosyası: geri alınabilir değişiklik
-
Keyset pagination instead of OFFSETPagination that does not slow down as the page number grows on large tables. OFFSET yerine anahtar tabanlı sayfalama