Skip to content

[Form] The form lifecycle #20578

@alexandresalome

Description

@alexandresalome

Hello awesome team 👋

During SymfonyCon Vienna and SymfonyOnline, I presented "Symfony Form - Practical use cases" (slides).

In this presentation, some information could be beneficial to the documentation. Especially, those slides:

The narrative around those is about:

Form lifecycle is a recursive 2-dimension problem.

Dimension 1: the form lifecycle, with major events illustrated slide 38
Dimension 2: the form tree, that is a composite tree (i.e. each node has children)

In a static manner (slide 41), the parent propagate calls to the children to recursively handle events

In a dynamic manner (slide 44), the children are created dynamically, and have special lifecycle management

Those materials are free to transform and reuse, basically. I essentially want to contribute that to the documentation.

How should I integrate that into the Symfony documentation?

  1. A new page "The form lifecycle explained" (misc. section in Learn more)
  2. A section "The form lifecycle" on the main form documentation

Thank you Symfony <3

Activity

javiereguiluz

javiereguiluz commented on Jan 20, 2025

@javiereguiluz
Member

Thanks a lot Alexandre!

Symfony Docs about Forms truly needs some love. It'd be great to have detailed information about how they work and also more information about advanced use cases.

I can't comment on where's the best place for these new docs because I'm not a Form expert ... but, let me ask to our biggest form experts @xabbuh and @HeahDude. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @javiereguiluz@alexandresalome@carsonbot

        Issue actions

          [Form] The form lifecycle · Issue #20578 · symfony/symfony-docs