~/talk

Slicing into Blade

Talkat Laracon EU Online 2021 · 2021-01-18..01-22· [php, frontend-architecture]
slides:none on file

Walks through exact Blade internals: a tiny standalone PHP view function that shows rendering, Blade's compile_string step and use of PHP's token_get_all, the pre-compilers (Livewire registers one), and how directives compile (custom vs core) including common pitfalls with eval and argument parsing. Shows compiled view files being required and returned via evaluatePath, explains view factory → render flow, and gives concrete patterns for writing and debugging custom directives.

AI-written summary · about

  1. 0:00Start
  2. 11:42Get Contents Method
  3. 16:37Compile Extensions
  4. 17:59Compile Statements Method
  5. 21:03Test Directive
  6. 24:00Undefined Variable Value Error
  7. 25:46Error Directive
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.