~/talk

Reverse engineering the "Form" component

TalkinFrenchat SymfonyLive Paris 2014 · 2014-04-07..04-08· [php]
links:none on file
slides:none on file

Reverse-engineering the Symfony Form component explains how createForm and handleRequest work by describing the resolve form type factory that decorates types for dynamic inheritance, how each resolved type constructs a FormBuilder and builds a composite Form tree, and how events and data transformers manage data flow. It gives concrete codebase metrics (45,000+ lines, 292 files, 2,312 methods), notes a resolve type data collector proxy added in Symfony 2.4, and details workflows for setData/submit including model↔normalized↔view conversions and transformer/event pitfalls (e.g., implode/explode vs parent trim).

AI-written summary · about

  1. 0:00Introduction
  2. 1:15Not covered
  3. 1:56Form size and complexity
  4. 3:00Form architecture
  5. 4:03Form creation workflow
  6. 6:14Why study form types
  7. 7:41Form type inheritance
  8. 9:46Form creation deep dive
  9. 13:39Data collection in forms
  10. 14:00Form builder and composite pattern
  11. 16:30Form initialization with setData
  12. 17:56Form creation summary
  13. 18:38Data normalization
  14. 20:02Data transformation
  15. 21:45Handling array data
  16. 23:52Native data transformers
  17. 24:14Submitting form data
  18. 25:19Normalization on submit
  19. 27:04Reverse transformation
  20. 27:47Form events
  21. 29:11Event listener example
  22. 31:39Event subscribers
  23. 32:10Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.