I've spent several hours reading magento 2's official documentation, and I haven't found how to create a module :
- The documentation explain the structure of the filesystem, list the files that we can create in some directories (for example here),
- The exprected content of the composer.json module.xml and registration.php are well explained (several times),
- I've found some informations about the possibles entries in the configuration files (app/etc/*.xml),
- But I've didn't found a comprehensive explanation of all the content of the files (controller, view, layout, model, setup, ...). Did I missed something or all this area isn't covered by the doc?
the best ressource found untill now is this one : Creating a Magento admin page (but it do not cover all the need, for example, I want to learn how to add an "array" of custom data about the customer)
edit : I add what I try to do in order to show that it is not covered by the doc : add an "array" of custom data to the customer thoses data will permit to buy or not the products
- How to add thoses custom data : not covered (I think that I need to alter the data model to add new tables, in the setup file of the module)
- How to request thoses data in the frontend : not covered
- How to view/edit those data in the admin : not covered
- How to let the customer edit thoses data : not covered
- How to create REST API (wich will permit thoses data to be populated by a remote system) : not covered