Ali Zafer Writing

Türkçe oku

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.

  1. Backend · 2 min · TR 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ı
  2. Backend · 1 min · TR 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
  3. Backend · 2 min · TR 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
  4. Backend · 2 min · TR 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
  5. Backend · 8 min · TR 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
  6. Backend · 2 min · TR 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
  7. Backend · 1 min · TR 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
  8. Backend · 2 min · TR 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ü
  9. Backend · 2 min · TR Seed data: realistic but fakeReproducible test and development data without real people's personal information. Seed verisi: gerçekçi ama sahte
  10. Backend · 7 min · TR 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
  11. Backend · 2 min · TR Migration files: reversible changesVersioning schema changes like code and writing the way back from the start. Migration dosyası: geri alınabilir değişiklik
  12. Backend · 2 min · TR Keyset pagination instead of OFFSETPagination that does not slow down as the page number grows on large tables. OFFSET yerine anahtar tabanlı sayfalama