<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-CA">
  <title>Notes by Drashtant Nayak</title>
  <subtitle>Laravel, MySQL, integrations and AI features</subtitle>
  <link href="https://drashtantnayak.ca/feed.xml" rel="self" type="application/atom+xml"/>
  <link href="https://drashtantnayak.ca/notes/" rel="alternate" type="text/html"/>
  <id>https://drashtantnayak.ca/notes/</id>
  <updated>2026-10-22T22:00:00-06:00</updated>
  <author><name>Drashtant Nayak</name><uri>https://drashtantnayak.ca/</uri></author>
  <entry>
    <title>Making Laravel webhook handlers safe to receive twice</title>
    <link href="https://drashtantnayak.ca/notes/idempotent-webhooks-laravel/" rel="alternate" type="text/html"/>
    <id>https://drashtantnayak.ca/notes/idempotent-webhooks-laravel/</id>
    <published>2026-10-22T22:00:00-06:00</published>
    <updated>2026-10-22T22:00:00-06:00</updated>
    <summary>Webhooks arrive late, out of order and more than once. A Laravel pattern: verify the signature, record the event ID, answer fast, do the work in a queue.</summary>
  </entry>
  <entry>
    <title>Read the query plan before you add an index</title>
    <link href="https://drashtantnayak.ca/notes/mysql-indexes-query-plan/" rel="alternate" type="text/html"/>
    <id>https://drashtantnayak.ca/notes/mysql-indexes-query-plan/</id>
    <published>2026-10-22T22:00:00-06:00</published>
    <updated>2026-10-22T22:00:00-06:00</updated>
    <summary>How to use MySQL EXPLAIN to choose the right composite index, why column order matters, and what quietly stops an index from being used in Laravel apps.</summary>
  </entry>
  <entry>
    <title>Adding AI to a Laravel app without making it a liability</title>
    <link href="https://drashtantnayak.ca/notes/ai-features-laravel-guardrails/" rel="alternate" type="text/html"/>
    <id>https://drashtantnayak.ca/notes/ai-features-laravel-guardrails/</id>
    <published>2026-10-22T22:00:00-06:00</published>
    <updated>2026-10-22T22:00:00-06:00</updated>
    <summary>Habits for shipping AI features in an existing Laravel app: small checkable jobs, validated output, queues, human review, logging and tests on real examples.</summary>
  </entry>
</feed>
