Glosarium Pemrograman Per Stack
Ringkasan
Kumpulan istilah teknis lintas stack yang sering muncul di dokumentasi ini. Dipisah per kategori agar gampang dirujuk.
Glosarium Inti (Lintas Stack)
- Routing: pemetaan URL ke handler/komponen.
- Middleware: lapisan pemrosesan request sebelum/sepembuangan handler.
- Middleware pipeline: urutan middleware yang dilalui request.
- ORM: Object-Relational Mapping — map DB ke objek.
- Dependency Injection: menyuntikkan dependensi ke objek, bukan membuat sendiri.
- State: data yang menyimpan kondisi UI/aplikasi.
- Props: data dari parent ke child component.
- Component lifecycle: fase hidup komponen (mount, update, destroy).
- Interface: kontrak tipe tanpa implementasi.
- Goroutine: eksekusi ringan concurrency di Go.
- Reactivity: mekanisme update otomatis saat data berubah.
- Hydration: proses menempelkan JS ke HTML statis di SSR.
- SSR: Server-Side Rendering.
- CSR: Client-Side Rendering.
- ISR: Incremental Static Regeneration.
- SEO: Search Engine Optimization.
- A11y: Accessibility.
- ARIA:Accessible Rich Internet Applications.
- i18n: Internasionalisasi.
- Lazy loading: menunda load resource sampai dibutuhkan.
- Tree-shaking: menghapus kode tak terpakai saat build.
- Hot reload: update modul tanpa reload penuh.
- Idempotency: operasi yang hasilnya sama walau dijalankan berulang.
HTML / CSS
- Landmark: region halaman sebagai titik navigasi ARIA.
- Sectioning element: elemen pembentuk outline (article, section, nav, aside).
- Specificity: aturan prioritas selector CSS.
- Cascade: urutan penerapan style.
- Box model: model kotak (content, padding, border, margin).
- Stacking context: urutan tumpukan elemen (z-index).
- Flexbox: layout satu dimensi.
- Grid: layout dua dimensi.
- Container query: style berdasar ukuran container, bukan viewport.
- Logical properties: properti arah-agnostik (margin-inline vs margin-left).
JavaScript / TypeScript
- Closure: fungsi + scope tempat dibuat.
- Hoisting: pengangkatan deklarasi ke atas scope.
- Prototype chain: rantai pencarian property.
- Promise: representasi nilai async future.
- Event loop: antrian eksekusi sync/async.
- Microtask: antrian prioritas tinggi (Promise).
- Generics: tipe parameter (TS).
- Discriminated union: union dengan field pembeda (TS).
- Narrowing: penyempitan tipe (TS).
- Utility types: tipe pembantu (Partial, Pick, dll).
- Type inference: TS menebak tipe otomatis.
React.js / Next.js
- JSX: sintaks seperti HTML di JS.
- Virtual DOM: representasi DOM di memori.
- Reconciliation: pencocokan VDOM saat update.
- Hooks: fungsi untuk state/lifecycle di function component.
- Controlled component: input dikontrol state React.
- Server Component: komponen render di server (Next.js).
- Client Component: komponen render di browser.
- Route Handler: API endpoint di Next.js App Router.
- Server Action: fungsi mutasi di server (Next.js).
- Revalidation: pembaharuan cache (Next.js).
Laravel / PHP
- Facade: static proxy ke service container.
- Service Container: wadah resolusi dependensi.
- Eloquent: ORM Laravel.
- Migration: versioning skema DB.
- Seeder: pengisian data awal.
- Policy: otorisasi per-resource.
- Gate: closure otorisasi.
- Middleware: filter request Laravel.
- Artisan: CLI Laravel.
- Blade: template engine Laravel.
- PSR-4: standar autoloading PHP.
Go
- Goroutine: thread ringan Go.
- Channel: pipe komunikasi antar goroutine.
- Context: pembatalan & batas waktu.
- Interface implisit: tipe memenuhi interface tanpa deklarasi.
- Defer: eksekusi di akhir fungsi.
- Panic/Recover: penanganan error fatal.
- Workspace: multi-module go (go.work).
Svelte
- Runes: primitives reaktivitas Svelte 5 ($state, $derived, $props, $effect).
- Stores: wadah state global (writable, readable, derived).
- Reactivity:
$:/ runes. - Snippet: blok reusable pengganti slot.
- Action:
use:directive kustom.
WordPress
- Hook: action/filter untuk extend.
- Action: hook eksekusi saat event.
- Filter: hook modifikasi nilai.
- Custom Post Type: tipe konten selain post/page.
- Taxonomy: kategori/tag kustom.
- Block Editor: editor Gutenberg.
- Theme hierarchy: urutan template WordPress.
- Transients: cache sementara.
- Nonce: token sekali-pakai keamanan.