app/ becomes a URL and special files (page.tsx, layout.tsx) define what renders.
≈ like your folder-of-PHP-files mapping to URLs, but with built-in layouts, loading states, and server rendering.The whole-stack vocabulary — UAE full-stack (2026)
Once a term is defined here, every lesson uses it the same way.
A ↑ top
app/ becomes a URL and special files (page.tsx, layout.tsx) define what renders.
≈ like your folder-of-PHP-files mapping to URLs, but with built-in layouts, loading states, and server rendering.C ↑ top
"use client") that runs in the browser, so it can use state, effects, and event handlers like clicks.
≈ like the interactive jQuery part of a page — anything that responds to the user lives here.D ↑ top
@something line written above a function that wraps it to add behaviour — FastAPI uses it to attach a function to a route.
≈ like a route-registration annotation or a middleware wrapper — it says "when this URL is hit, run this function."E ↑ top
POST /documents — the address a client actually calls.
≈ like one PHP script that handles one action, but addressed by URL + HTTP verb rather than a filename..env / getenv() in PHP — same idea, central to deploys here.H ↑ top
use) that lets a function component "hook into" React features like state and lifecycle.
≈ like the modern replacement for class-based lifecycle methods — small built-in helpers you call inside a component.I ↑ top
J ↑ top
{ } drops live values into the markup.
≈ like a PHP template where you mix markup and logic — but it's JavaScript, and the values are reactive.L ↑ top
M ↑ top
O ↑ top
user.documents instead of a SELECT, though you still drop to SQL when needed.P ↑ top
vector column type and similarity search, so your embeddings live in the same database as everything else.
≈ like giving MySQL a new column type plus a "find nearest by meaning" query — no separate vector DB needed.pip install fastapi pulls a library from the registry into your environment.
≈ like Composer for PHP; requirements.txt plays the role of composer.json.$_POST, but automatic — define the shape once and bad input is rejected for you.R ↑ top
GET, POST, PUT, DELETE) that return JSON.
≈ like the JSON endpoints you hit from jQuery's $.ajax — now you're the one building them, in FastAPI..htaccess.S ↑ top
useState gives a component a piece of memory that re-renders the UI when it changes; useEffect runs side-effects (like fetching data) after render.
≈ like a local variable that auto-updates the DOM (useState), plus a "do this after the page draws" hook (useEffect) — no manual $(...).html().T ↑ top
U ↑ top
V ↑ top