Summary
This chapter showed us how to create a front form and process its data from the hooks definition using modern Doctrine entities. We also saw how to send emails from the module class, and we created a complete Symfony controller presenting a grid. We mastered the creation of a simple grid, from the structure definition to the templating, as well as bundling JavaScript assets with a configured webpack. We also explored the creation commands and queries from the ground up, as well as examples of their use, by following the CQRS design pattern. We added a new tab to the BO menu and created a configuration page for our module by generating and handling a form with the Symfony Form component.
Even if this chapter was full of many new ideas, you were able to concretely visualize how things are articulated and organized. Feel free to apply this new knowledge to one of your personal projects!
In the next chapter, we will create a lighter module by extending the BO category form...