~/talk

Forms in Symfony 3

Talkat Web Summer Camp 2016 · 2016-08-31..09-03· [php]
slides:none on file

Symfony 3 Form component applied inside a DDD app: a three-layer CRM example (domain, application, infrastructure) with three hands‑on assignments in a 3‑hour workshop. Shows CRUD for Organization using empty_data to instantiate aggregates with nonstandard constructors, explains FormBuilder vs immutable Form instance and handleRequest method, implements DataTransformer for PhoneNumber/Email (including TransformationFailedException and custom invalid messages), resolves block prefix collisions by overriding getBlockPrefix, and uses DataMapper for multi-field Address and ProposedContact command to build commands instead of persisting entities directly.

AI-written summary · about

  1. 0:00Welcome and setup
  2. 3:45CRM application overview
  3. 7:27First assignment CRUD forms
  4. 15:06Solution to first assignment
  5. 24:13Second assignment value objects
  6. 37:03Third assignment data mappers
  7. 40:26Solution to third assignment
  8. 44:32Fourth assignment commands
~/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.