Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (3 active)
A
-
Array (PHP)
PHP's all-purpose list: either numbered (a list) or keyed (like a dictionary).
B
-
Blade
Laravel’s template language: HTML with
{{ }}for escaped output and@if,@foreachdirectives.
C
-
Class and object
A class is a blueprint, an object is one thing built from it, with its own data and methods.
-
Collection
Laravel's supercharged array with chainable methods like filter, map, groupBy, sum.
D
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
E
-
Enum
A fixed set of named values, such as the possible statuses of a booking.
-
Exceptions and try/catch
Errors that are "thrown" and can be "caught" and handled instead of crashing the page.
F
-
Form
A group of inputs that sends what the visitor typed to a server.
-
Form validation
Checking that inputs are filled in correctly before they are sent.
-
Function and arrow function
A named, reusable piece of code; fn() => is a one-line short form.
G
-
Guard
A check at the start of a function that exits early when a condition is not met.
H
-
Hard-coded
A value written directly into the code instead of coming from settings or data.
-
HTML entities
Codes for characters that would otherwise be read as HTML, such as < and &.
I
-
Interface and trait
An interface lists the methods a class promises to have; a trait is reusable methods shared by classes.
L
-
Localisation (__ and lang files)
Showing the interface in the visitor's language from translation files.
N
-
Namespace and use
Folders for class names, so two classes called Lexikon from different packages don't clash.
P
-
Predicate
A function or condition that answers yes or no about a value.
V
-
Variables and types in PHP
Variables start with $; values can be strings, integers, floats, booleans, arrays, objects or null.