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 · 8 min · TR HTTP caching: ETag, Last-Modified and server-side cachingThinking about browser, intermediary and server caches together: the right headers avoid unnecessary requests, the right strategy avoids unnecessary work, and a careless setup serves stale content. HTTP Cache — ETag, Last-Modified ve Sunucu Yanı Önbellek
  2. Backend · 1 min · TR Reading Cache-Control: max-age, no-cache, no-storeWhat the three directives actually do, and the most common confusion: no-cache does not mean "do not cache" but "revalidate before using". Cache-Control'ü okumak: max-age, no-cache, no-store
  3. Backend · 6 min · TR Backend — the invisible backbone of codeIntroduction to the backend series: MVC discipline, scalable databases, security and performance, with notes on caching, API design and deployment. Backend — Kodun Görünmeyen Omurgası
  4. Backend · 1 min · TR Keeping secrets out of the repository with .envPasswords and API keys belong in the environment, not in code. A committed .env.example shows the team which settings exist without exposing the values. .env dosyası ve sırları repodan uzak tutmak
  5. Backend · 2 min · TR Prepared statements in PDO: why always?SQL injection happens when user data is pasted into the query text. Separating the query from the data with prepared statements removes the problem at its root; it is a habit of a few lines. PDO'da prepared statement: neden her zaman?