~/talk

Building a maintainable Livewire application

Talkat Laracon AU 2023 · on Thursday, 2023-11-16· at 11:15· [laravel]
slides:none on file

Examples replace controllers and views with full-page Livewire components linked from routes, naming uses verbs and suffixes like EditQuotePage and QuoteFormComponent, computed properties with cache prevent lost joins and remove extra queries on subsequent requests, form objects move validation and public properties out of components, action classes extract persistence so tests focus on behavior, and a reversed component ordering convention makes files readable; a live demo shows queries vanish on rehydrate until computed caching is enabled.

AI-written summary · about

  1. 0:00Components
  2. 2:08Page components
  3. 3:32Invokable components
  4. 4:21Naming conventions
  5. 5:25Organising components
  6. 6:47Computed properties
  7. 10:19Cached properties
  8. 10:51Component structure
  9. 15:25Form objects
  10. 17:24Action classes
~/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.