PrestaShop / example-modules

Example PrestaShop modules
Academic Free License v3.0
176 stars 118 forks source link

demosymfonyform #145

Closed musaffarpatel closed 1 year ago

musaffarpatel commented 1 year ago

As Prestashop charges forward with leveraging more of Symfony code, Prestashop developers like myself are keen to adopt this approach as much as possible and these demo modules provide a encouraging start.

In relation to the demosymfony module, it would be great if the following could be demonstrated:

Additionally, it seems there is significant boilerplate code required to setup forms in a module (services, classes, and even javascript code). Are there any command line utilities available which could help developers generate a simple form?

kpodemski commented 1 year ago

Hello @musaffarpatel

This example demonstrates how to work with ObjectModel.

This example presents how to work with a new product page.

Additionally, it seems there is significant boilerplate code required to setup forms in a module (services, classes, and even javascript code). Are there any command line utilities available which could help developers generate a simple form?

Not at the moment. There are some great community tools tho, this is one of them.

I'm closing this Issue, but feel free to create a new one, or better would be to discuss it with other members of the community using GitHub Discussions or Slack.